Improved build commands
This commit is contained in:
1 parent
e0979ed357
commit
271ab8860f
8 files changed
+54
-29
No files matched your search
@@ -1,3 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
docker-compose -f toolchain/docker-compose.yml run --rm -u $(id -u):$(id -g) make make "$@"
|
||||
default="make"
|
||||
|
||||
if [[ "$1" == "-" ]]; then
|
||||
shift
|
||||
cmd="$@"
|
||||
else
|
||||
cmd="${default} $@"
|
||||
fi
|
||||
|
||||
docker-compose -f toolchain/docker-compose.yml run --rm -u $(id -u):$(id -g) build ${cmd}
|
||||
Reference in new issue
Block a user