Build from scripts again

This commit is contained in:
Andrew Schwartzmeyer
2015-10-13 13:37:06 -07:00
parent e95b3dc801
commit 16db74fb3e
2 changed files with 3 additions and 6 deletions
-3
View File
@@ -1,3 +0,0 @@
# default rule which passes all arguments to scripts/Makefile
.DEFAULT:
$(MAKE) -C scripts $(MAKECMDGOALS)
+3 -3
View File
@@ -11,14 +11,14 @@ monad-tty()
}
# runs ephemeral andschwa/magrathea docker container with local
# directory mounted to /opt and workdir set to /opt
# directory mounted to /opt and workdir set to /opt/scripts
monad-docker-run()
{
local CONSOLE=$1
shift 1
docker run --rm \
--volume $(pwd)/:/opt \
--workdir /opt \
--volume $(dirname $(pwd))/:/opt \
--workdir /opt/scripts \
$CONSOLE \
andschwa/magrathea:latest \
bash -c "$(monad-impersonate) -- bash -c '$*'"