13 lines
339 B
Text
13 lines
339 B
Text
|
def compile [] {
|
||
|
print "[*] Running rustc..."
|
||
|
do {
|
||
|
print "[*] Starting container..."
|
||
|
print $"[*] Docker output for (pwd|path basename)"
|
||
|
docker build --network=host -t (pwd|path basename) .
|
||
|
docker run -it --network=host -v $"(pwd):/wd" (pwd|path basename)
|
||
|
}
|
||
|
print "[+] Built succesfully"
|
||
|
}
|
||
|
|
||
|
compile
|