-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d286bc4
commit d6f1dfa
Showing
4 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"startup": "load.lua" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<project name="LUALUA" default="main"> | ||
<condition property="is_windows"> | ||
<os family="windows"/> | ||
</condition> | ||
<condition property="is_unix"> | ||
<os family="unix" /> | ||
</condition> | ||
|
||
<target name="make_archive"> | ||
<copy todir="build/LuaLua"> | ||
<fileset dir="LuaLua" /> | ||
</copy> | ||
<zip zip64Mode="never" destfile="build/LuaLua.zip" basedir="build/LuaLua" /> | ||
</target> | ||
|
||
<target name="if_windows" if="is_windows" depends="make_archive"> | ||
<exec executable="certutil"> | ||
<arg value="-encode" /> | ||
<arg value="build/LuaLua.zip" /> | ||
<arg value="build/LuaLua.zip.base64" /> | ||
</exec> | ||
</target> | ||
|
||
<target name="if_unix" if="is_unix" depends="make_archive"> | ||
<exec executable="base64"> | ||
<arg value="-i" /> | ||
<arg value="build/LuaLua.zip" /> | ||
<arg value="-o" /> | ||
<arg value="build/LuaLua.zip.base64" /> | ||
</exec> | ||
</target> | ||
|
||
<target name="main" depends="if_windows, if_unix"> | ||
</target> | ||
</project> |