pack/scripts/build
2019-09-03 16:47:27 -05:00

14 lines
289 B
Lua
Executable file

#!/usr/bin/lua
print("Building pack...")
os.execute("cargo build --release")
os.execute("cp target/release/pack .")
print("Done!\n\n")
print("Setup environment? (requires root) [Y/n]:")
input = io.read()
if input == "y" then
os.execute("scripts/setup.sh")
else
print("Goodbye!\n")
end