diff --git a/bin/release_jar_with_checksum.sh b/bin/release_jar_with_checksum.sh new file mode 100755 index 0000000..ef17024 --- /dev/null +++ b/bin/release_jar_with_checksum.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +set -e + +mkdir -p releases +rm -rf releases/*.zip +rm -rf releases/*.jar + +lein uberjar + + +cp target/uberjar/closyr-0.1.0-SNAPSHOT-standalone.jar releases/closyr-0.1.0-SNAPSHOT-standalone.jar +zip --junk-paths releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip releases/closyr-0.1.0-SNAPSHOT-standalone.jar + +shasum -a 256 releases/closyr-0.1.0-SNAPSHOT-standalone.jar | cut -d " " -f 1 > releases/closyr-0.1.0-SNAPSHOT-standalone.jar.shasum256.txt +shasum -a 256 releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip | cut -d " " -f 1 > releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip.shasum256.txt + +echo "JAR SHA256:" +cat releases/closyr-0.1.0-SNAPSHOT-standalone.jar.shasum256.txt + +echo "JAR ZIP SHA256:" +cat releases/closyr-0.1.0-SNAPSHOT-standalone.jar.zip.shasum256.txt + +echo "Done, check release folder" diff --git a/run_with_theme.sh b/bin/run_with_theme.sh similarity index 97% rename from run_with_theme.sh rename to bin/run_with_theme.sh index 89bb3f0..82e6e7b 100755 --- a/run_with_theme.sh +++ b/bin/run_with_theme.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e export _JAVA_OPTIONS="$_JAVA_OPTIONS \ -Dawt.useSystemAAFontSettings=on \