Skip to content

Commit

Permalink
update Makefile (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
om26er authored Jun 7, 2020
1 parent a23b951 commit 517ba38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BUILD_DATE=$(shell date -u +"%Y-%m-%d")
AUTOBAHN_JAVA_VERSION='20.6.1'
AUTOBAHN_JAVA_VCS_REF='unknown'
AUTOBAHN_JAVA_VCS_REF='a23b951'

default:
@echo 'Build targets: clean build publish'
Expand Down Expand Up @@ -73,13 +73,13 @@ build_android:

publish_android: build_android
sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=android
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=android
sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java

publish_android_legacy: build_android
sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java
$(shell ./enable_old_androids.sh)
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=android -PbuildLegacy=true
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=android -PbuildLegacy=true
sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java


Expand All @@ -90,7 +90,7 @@ build_netty:
crossbario/autobahn-java:netty \
gradle -PbuildPlatform=netty distZip

publish_netty: build_netty
publish_netty:
sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=netty
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=netty
sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@

public class Globals {
// Default set to true, this is set to false by the release script.
public static final boolean DEBUG = false;
public static final boolean DEBUG = true;
}

0 comments on commit 517ba38

Please sign in to comment.