Build is now in lua

This commit is contained in:
Skye Bleed 2019-09-03 16:47:27 -05:00
parent 129b97f821
commit b51037c42e
2 changed files with 14 additions and 14 deletions

14
scripts/build Executable file
View file

@ -0,0 +1,14 @@
#!/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