M
build.sh
→
build.sh
@@ -1,7 +1,6 @@
#!/bin/bash
-cmake -S . -B build -GNinja
-cmake --build build
-chmod +x build
-strip build/rls
-build/rls $1
-
+cmake -S . -B build -GNinja && \
+cmake --build build && \
+chmod +x build/rls && \
+strip --strip-all build/rls && \
+upx --best build/rls