14 lines
289 B
Lua
Executable file
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
|