repo: allow individual package building

This commit is contained in:
Thomas Hobson 2021-02-28 18:23:28 +13:00
parent 1ab3f463d0
commit 1dd9e1a738
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
3 changed files with 14 additions and 14 deletions

10
repo/entrypoint.sh Executable file
View file

@ -0,0 +1,10 @@
cd /packages
for pkg in "$*"
do
make -j16 build-$pkg
done
cd /repo
./mkindex.sh
curl -s http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml"