We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 973bf50 commit ae4600cCopy full SHA for ae4600c
Makefile
@@ -4,9 +4,11 @@
4
%:
5
./makexpi.sh $@
6
# this makes prerelease xpis (and is the default rule)
7
-prerelease:
+prerelease: pkg
8
./makexpi.sh
9
+pkg:
10
+ mkdir pkg
11
clean:
- rm -f *.xpi
12
+ rm -f pkg/*.xpi
13
14
.PHONY: clean prerelease
makexpi.sh
@@ -22,7 +22,7 @@ else
22
VERSION="$(grep em:version src/install.rdf | sed -e 's/[<>]/ /g' | cut -f3)~pre"
23
TARG=HEAD
24
fi
25
-XPI_NAME="$APP_NAME-$VERSION.xpi"
+XPI_NAME="pkg/$APP_NAME-$VERSION.xpi"
26
27
cd "$(dirname $0)/src"
28
git archive --format=zip -9 "$TARG" . > "../$XPI_NAME"
0 commit comments