Skip to content

Commit

Permalink
update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sniper00 committed Oct 29, 2024
1 parent 5ddb704 commit 330c243
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,13 @@ newaction {
os.execute("powershell Compress-Archive -Path moon.exe, lua.dll, lualib, service, clib -DestinationPath moon-windows.zip README.md")
os.execute("echo Checking if moon-windows.zip was created...")
os.execute("if exist moon-windows.zip (echo moon-windows.zip created successfully.) else (echo Failed to create moon-windows.zip.)")
os.execute([[echo "moon-windows.zip" > .zip_name]])
end,
linux = function ()
os.execute([[
#!/bin/bash
rm -f moon-linux.zip
mkdir -p clib
zip -r moon-linux.zip moon liblua.so lualib service clib/*.so moon.debug liblua.so.debug README.md
echo "moon-linux.zip" > .zip_name
]])
end,
macosx = function ()
Expand All @@ -370,7 +368,6 @@ newaction {
rm -f moon-macosx.zip
mkdir -p clib
zip -r moon-macosx.zip moon liblua.dylib lualib service clib/*.dylib README.md
echo "moon-macosx.zip" > .zip_name
]])
end,
}
Expand Down

0 comments on commit 330c243

Please sign in to comment.