mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Build from scripts again
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# default rule which passes all arguments to scripts/Makefile
|
||||
.DEFAULT:
|
||||
$(MAKE) -C scripts $(MAKECMDGOALS)
|
||||
@@ -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 '$*'"
|
||||
|
||||
Reference in New Issue
Block a user