diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-12-04 00:30:11 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-12-04 01:35:16 -0800 |
commit | 5d631ebba2829fa10b66149a8405534cd2143a0d (patch) | |
tree | 42bfed586958cddeb99840ad4e66755742d6e38b /flow-native/build.sbt | |
parent | 8e42c6f340b2a35bfb5c08df116a1e88de052eb7 (diff) | |
download | akka-serial-5d631ebba2829fa10b66149a8405534cd2143a0d.tar.gz akka-serial-5d631ebba2829fa10b66149a8405534cd2143a0d.tar.bz2 akka-serial-5d631ebba2829fa10b66149a8405534cd2143a0d.zip |
Refactor project to use .sbt build definitions and add continuous deployment script
Diffstat (limited to 'flow-native/build.sbt')
-rw-r--r-- | flow-native/build.sbt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/flow-native/build.sbt b/flow-native/build.sbt index 1f5720e..2c7ffea 100644 --- a/flow-native/build.sbt +++ b/flow-native/build.sbt @@ -1,10 +1,8 @@ -import flow.{FlowBuild} - -FlowBuild.commonSettings - enablePlugins(JniNative) sourceDirectory in nativeCompile := sourceDirectory.value -// uncomment below to use library in lib_native instead -//enableNativeCompilation in Compile := false +// package native libraries from lib_native during releases +val isRelease = sys.props("release") == "true" +enableNativeCompilation in Compile := !isRelease +enableNativeCompilation in Test := !isRelease |