repo: allow build only
This commit is contained in:
parent
8cc91a375c
commit
803b836933
|
@ -1,11 +1,13 @@
|
||||||
cd /piston/packages
|
cd /piston/packages
|
||||||
|
|
||||||
|
SERVER=1
|
||||||
|
|
||||||
for pkg in "$@"
|
for pkg in "$@"
|
||||||
do
|
do
|
||||||
make -j16 $pkg.pkg.tar.gz
|
[[ "$pkg" = "--no-server" ]] && SERVER=0 || make -j16 $pkg.pkg.tar.gz
|
||||||
done
|
done
|
||||||
|
|
||||||
cd /piston/repo
|
cd /piston/repo
|
||||||
./mkindex.sh
|
./mkindex.sh
|
||||||
|
|
||||||
python3 -m http.server
|
[[ $SERVER -eq 1 ]] && python3 -m http.server
|
Loading…
Reference in New Issue