bowotloader/build.nu
2024-06-18 12:36:23 +02:00

12 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