mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
parent
7ace20dd19
commit
8903641dbb
|
@ -14,7 +14,7 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
script: |
|
script: |
|
||||||
./configure $ARGS
|
./configure $ARGS
|
||||||
make --jobs {{ hw.concurrency }}
|
make --jobs {{ hw.concurrency }}
|
||||||
make install
|
make install
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
|
@ -26,6 +26,9 @@ provides:
|
||||||
- sbin/nginx
|
- sbin/nginx
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script:
|
||||||
sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf
|
# won't run without `nogroup`
|
||||||
nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t
|
- run: if ! getent group nogroup; then exit 0; fi
|
||||||
|
if: linux
|
||||||
|
- sed -i.bak -e 's/80/8080/g' {{prefix}}/conf/nginx.conf
|
||||||
|
- nginx -p {{prefix}} -c {{prefix}}/conf/nginx.conf -t
|
||||||
|
|
Loading…
Reference in a new issue