mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-02 06:36:22 -04: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
|
Loading…
Add table
Add a link
Reference in a new issue