Our server pr0vider carried out maintenance on 15 January 2020 but it corrupted some files in the process. If you notice anything out of the ordinary (partial files, pages not loading, that kind of shit) then let us know at:

Browse Source

zippem.sh: Run trimtabs pri0r to zippan, also support for zipping shit for just one platf0rm

Wazakindjes 1 year ago
parent
commit
b283f4f53e
1 changed files with 11 additions and 5 deletions
  1. 11 5
      bin/zippem.sh

+ 11 - 5
bin/zippem.sh

@@ -8,9 +8,15 @@ fi
 rm -f *.zip 2>/dev/null
 [ ! -d ../release ] && mkdir ../release
 
-zip --symlinks -FSr ../release/str0kem-mac.zip str0kem.app
+./trimtabs.sh
 
-mkdir str0kem
-cp -v str0kem.exe str0kem
-zip --symlinks -FSr ../release/str0kem-win.zip str0kem
-rm -rf str0kem
+if [[ -z $1 || $1 == mac ]]; then
+	zip --symlinks -FSr ../release/str0kem-mac.zip str0kem.app
+fi
+
+if [[ -z $1 || $1 == win ]]; then
+	mkdir str0kem || exit
+	cp -v str0kem.exe str0kem
+	zip --symlinks -FSr ../release/str0kem-win.zip str0kem
+	rm -r str0kem
+fi