mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Remove unneeded scripts
This commit is contained in:
parent
c9f685b0df
commit
a378ea9610
6 changed files with 6 additions and 49 deletions
|
@ -4,15 +4,10 @@ cd ../../
|
|||
|
||||
set -e
|
||||
|
||||
# Edit versions
|
||||
buildVersion=1
|
||||
# Edit version
|
||||
fullVersion=0.1.1
|
||||
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/$buildVersion.jar
|
||||
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
|
||||
# Copy jar file from mac build (1.jar from processed folder) to linux box
|
||||
# Note: fakeroot needs to be installed on linux
|
||||
$JAVA_HOME/bin/javapackager \
|
||||
-deploy \
|
||||
|
@ -26,7 +21,7 @@ $JAVA_HOME/bin/javapackager \
|
|||
-title Bitsquare \
|
||||
-vendor Bitsquare \
|
||||
-outdir gui/deploy \
|
||||
-srcfiles gui/updatefx/builds/processed/$buildVersion.jar \
|
||||
-srcfiles gui/updatefx/builds/processed/1.jar \
|
||||
-appclass io.bitsquare.app.gui.BitsquareAppMain \
|
||||
-outfile Bitsquare
|
||||
|
||||
|
|
|
@ -2,13 +2,10 @@
|
|||
|
||||
# setup dirs
|
||||
cd ../../
|
||||
|
||||
mkdir gui/updatefx
|
||||
mkdir gui/updatefx/builds
|
||||
mkdir gui/updatefx/builds/processed
|
||||
mkdir gui/updatefx/site
|
||||
mkdir gui/deploy
|
||||
|
||||
# Copy wallet file from main build
|
||||
# java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
|
||||
cd package/linux
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Extract the version number. buildVersion is used for ever increasing integer at UpdateFX. fullVersion contains major and minor version + buildVersion
|
||||
buildVersion=$( sed -n 's/^.*final int BUILD_VERSION = //p' gui/src/main/java/io/bitsquare/app/gui/UpdateProcess.java )
|
||||
# remove trailing;
|
||||
buildVersion="${buildVersion:0:${#buildVersion}-1}"
|
||||
echo buildVersion = $buildVersion
|
||||
|
||||
cd ../../
|
||||
mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
cp gui/target/shaded.jar gui/updatefx/builds/$buildVersion.jar
|
||||
java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
|
||||
cd package/linux
|
|
@ -2,17 +2,12 @@ cd ..\..\
|
|||
|
||||
:: edit iss file -> AppVersion=0.1.1
|
||||
|
||||
call mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
:: edit buildVersion number
|
||||
copy gui\target\shaded.jar gui\updatefx\builds\1.jar
|
||||
|
||||
:: edit url
|
||||
call java -Xmx2048m -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
:: Copy jar file from mac build (1.jar from processed folder) to windows
|
||||
:: edit -> -BappVersion=0.1.1
|
||||
|
||||
:: 64 bit build
|
||||
:: Needs Inno Setup 5 or later (http://www.jrsoftware.org/isdl.php)
|
||||
:: Build with jdk1.8.0_40 fails but jdk1.8.0_3 works
|
||||
:: edit buildVersion and fullVersion number
|
||||
call "C:\Program Files\Java\jdk1.8.0_31\bin\javapackager.exe" -deploy -BappVersion=0.1.1 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir gui\deploy -appclass io.bitsquare.app.gui.BitsquareAppMain -srcfiles "gui\updatefx\builds\processed\1.jar" -outfile Bitsquare -Bruntime="C:\Program Files\Java\jdk1.8.0_31\jre"
|
||||
|
||||
:: 32 bit build
|
||||
|
|
|
@ -4,11 +4,6 @@ cd ..\..\
|
|||
mkdir gui\updatefx
|
||||
mkdir gui\updatefx\builds
|
||||
mkdir gui\updatefx\builds\processed
|
||||
mkdir gui\updatefx\site
|
||||
mkdir gui\deploy
|
||||
:: mkdir gui\win-32bit
|
||||
|
||||
:: Copy wallet file from main build
|
||||
:: call java -Xmx2048m -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
||||
|
||||
cd package\windows
|
|
@ -1,9 +0,0 @@
|
|||
call mvn clean package -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
:: edit buildVersion number
|
||||
@echo off set buildVersion=2
|
||||
|
||||
:: edit version /*.jar
|
||||
cp gui\target\shaded.jar gui\updatefx\builds\%buildVersion%.jar
|
||||
|
||||
call java -jar ./updatefx/updatefx-app-1.2.jar --url=http://bitsquare.io/updateFX/ gui/updatefx
|
Loading…
Add table
Reference in a new issue