Build is now in lua
This commit is contained in:
parent
129b97f821
commit
b51037c42e
2 changed files with 14 additions and 14 deletions
14
scripts/build
Executable file
14
scripts/build
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue