15 lines
289 B
Text
15 lines
289 B
Text
|
#!/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
|