Created
May 17, 2016 19:46
-
-
Save nitay/28ee7b4d1d70888ba61fa57953eae30d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This turns e.g. 2.10.6 into 2_10, which is the format required for scalastyle | |
scala_major = Versions.get('scala') | |
scala_major = scala_major[0:scala_major.rfind('.')].replace('.', '_') | |
target(name='scalastyle_' + scala_major, | |
dependencies=[ | |
'3rdparty/org/scalastyle:scalastyle', | |
'style/src/main/scala/co/actioniq/style' # Add our style checks | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment