update build file structure, add win ico

This commit is contained in:
Manfred Karrer 2015-03-04 01:44:20 +01:00
parent 3f2531960b
commit 7fc485dd88
27 changed files with 80 additions and 22 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash
cd ../../
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
cp gui/target/shaded.jar gui/updatefx/builds/1.jar
@ -9,7 +10,7 @@ java -jar ./updatefx/updatefx-app-1.2.jar --url=http://localhost:8000/ gui/updat
# Note: fakeroot needs to be installed on linux
$JAVA_HOME/bin/javapackager \
-deploy \
-BappVersion=0.1 \
-BappVersion=0.1.1-SNAPSHOT \
-Bcategory=Finance \
-Bemail=info@bitsquare.io \
-BlicenseType=GPLv3 \
@ -23,3 +24,5 @@ $JAVA_HOME/bin/javapackager \
-outfile Bitsquare
# TODO icons: -Bicon=client/icons/icon.png \
cd package/linux

View file

@ -0,0 +1,21 @@
#!/bin/bash
# setup dirs
cd ../../
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
cd package/mac
# start webserver for update data
# cd gui/updatefx/site
# python -m SimpleHTTPServer 8000
# create icons
# iconutil -c icns package/bitsquare.iconset

View file

@ -0,0 +1,12 @@
#!/bin/bash
cd ../../
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
cd package/mac