mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-16 05:53:06 -04:00
Update build scripts
This commit is contained in:
parent
4352c88766
commit
857435e056
25
build_create_app_linux.sh
Normal file
25
build_create_app_linux.sh
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/1.jar
|
||||
|
||||
# edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
# Note: fakeroot needs to be installed on linux
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
-BappVersion=0.1 \
|
||||
-Bcategory=Finance \
|
||||
-Bemail=info@bitsquare.io \
|
||||
-BlicenseType=GPLv3 \
|
||||
-native deb \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/1.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
||||
|
||||
# TODO icons: -Bicon=client/icons/icon.png \
|
@ -1,13 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# edit path
|
||||
cd /Users/mk/Documents/_intellij/bitsquare_UpdateFX_maven
|
||||
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/1.jar
|
||||
|
||||
# edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
# edit JAVA_HOME and different OS binaries
|
||||
/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/javapackager -deploy -outdir gui/deploy/ -outfile Bitsquare.dmg -name Bitsquare -native dmg -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles gui/updatefx/builds/processed/1.jar
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
-BappVersion=0.1 \
|
||||
-Bmac.CFBundleIdentifier=bitsquare \
|
||||
-Bmac.CFBundleName=Bitsquare \
|
||||
-Bruntime="$JAVA_HOME/../../" \
|
||||
-native dmg \
|
||||
-name Bitsquare \
|
||||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/1.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
21
build_create_app_win.bat
Normal file
21
build_create_app_win.bat
Normal file
@ -0,0 +1,21 @@
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui\target\shaded.jar gui\updatefx\builds\1.jar
|
||||
|
||||
:: edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
echo $JAVA_HOME
|
||||
echo $JAVA_HOME\..\..\
|
||||
|
||||
$JAVA_HOME\bin\javapackager ^
|
||||
-deploy ^
|
||||
-BappVersion=0.1 ^
|
||||
-Bruntime="$JAVA_HOME\..\..\" ^
|
||||
-native exe ^
|
||||
-name Bitsquare ^
|
||||
-title Bitsquare ^
|
||||
-vendor Bitsquare ^
|
||||
-outdir gui\deploy ^
|
||||
-srcfiles gui\updatefx\builds\processed\1.jar ^
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain ^
|
||||
-outfile Bitsquare
|
@ -1,18 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# setup dirs
|
||||
cd /Users/admin_mbp/Dropbox/Bitsquare2
|
||||
mkdir gui/updatefx
|
||||
mkdir gui/updatefx/builds
|
||||
mkdir gui/updatefx/builds/processed
|
||||
mkdir gui/updatefx/site
|
||||
mkdir gui/deploy
|
||||
|
||||
# create key/wallet
|
||||
# create key/wallet. Copy wallet to UpdateProcess or use wallet form other OS build
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
# start webserver for update data
|
||||
cd /Users/admin_mbp/Dropbox/Bitsquare2/gui/updatefx/site
|
||||
# cd gui/updatefx/site
|
||||
# python -m SimpleHTTPServer 8000
|
||||
|
||||
# create icons
|
||||
|
14
build_setup_win.bat
Normal file
14
build_setup_win.bat
Normal file
@ -0,0 +1,14 @@
|
||||
:: setup dirs
|
||||
mkdir gui\updatefx
|
||||
mkdir gui\updatefx\builds
|
||||
mkdir gui\updatefx\builds\processed
|
||||
mkdir gui\updatefx\site
|
||||
mkdir gui\deploy
|
||||
|
||||
:: create key/wallet. Copy wallet to UpdateProcess or use wallet form other OS build
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
||||
|
||||
:: start webserver for update data
|
||||
:: cd gui\updatefx\site
|
||||
:: python -m SimpleHTTPServer 8000
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# edit path
|
||||
cd /Users/mk/Documents/_intellij/bitsquare_UpdateFX_maven
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
# edit version /*.jar
|
||||
|
7
build_update_win.bat
Normal file
7
build_update_win.bat
Normal file
@ -0,0 +1,7 @@
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
:: edit version /*.jar
|
||||
cp gui\target\shaded.jar gui\updatefx\builds\2.jar
|
||||
|
||||
:: edit url
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updatefx
|
Loading…
x
Reference in New Issue
Block a user