mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
repo: allow individual package building
This commit is contained in:
parent
1ab3f463d0
commit
1dd9e1a738
3 changed files with 14 additions and 14 deletions
10
repo/entrypoint.sh
Executable file
10
repo/entrypoint.sh
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue