Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootyhoof committed Mar 23, 2022
1 parent a5802dc commit 6580aee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
NAME=stylem
VER=${1:-dev}
rm $NAME-$VER-pm.xpi
FILE=$NAME-$VER-pm.xpi
if test -f "$FILE"; then
rm $FILE
fi
cd src/
zip -qr9XD ../$NAME-$VER-pm.xpi *
zip -qr9XD ../$FILE *

0 comments on commit 6580aee

Please sign in to comment.