diff options
author | Charadon <dev@iotib.net> | 2022-06-05 22:01:31 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-06-05 22:01:31 -0400 |
commit | 533b4b37229fa774a26f68f4a2434860ee698a19 (patch) | |
tree | 51692028a3b7d6bc5dbac3c337faec8f3fae5a9a | |
parent | 491ed8d4031e6ffad4fea3372417c94686f22767 (diff) | |
download | Pong-C-533b4b37229fa774a26f68f4a2434860ee698a19.tar.gz |
Removed flatpak part in premake5.lua because it wasn't needed.
-rw-r--r-- | premake5.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/premake5.lua b/premake5.lua index 3f82255..d5ce869 100644 --- a/premake5.lua +++ b/premake5.lua @@ -57,6 +57,7 @@ project("Pong") else links {RaylibStaticLibrary, "m", "pthread", "dl"} end + newaction { trigger = "install", description = "Install the game to prefix.", @@ -64,11 +65,9 @@ project("Pong") os.executef("mkdir -pv %s/Pong", prefix) os.executef("cp -rv resources/ %s/Pong/", prefix) os.executef("install -Dvm755 bin/*/Pong %s/Pong/pong", prefix) - if(flatpak == true) then - os.executef("install -Dvm755 src/flatpak_launch.sh %s/bin/launch.sh", prefix) - end end } + newaction { trigger = "clean", description = "Clean the work environment.", @@ -78,5 +77,8 @@ project("Pong") os.executef("rm -rvf %s/app", _MAIN_SCRIPT_DIR) os.executef("rm -vf %s/Makefile", _MAIN_SCRIPT_DIR) os.executef("rm -vf %s/Pong.make", _MAIN_SCRIPT_DIR) + os.executef("rm -rvf %s/flatpak_repo", _MAIN_SCRIPT_DIR) + os.executef("rm -rvf %s/.flatpak-builder", _MAIN_SCRIPT_DIR) + os.executef("rm -rvf %s/build-dir", _MAIN_SCRIPT_DIR) end } \ No newline at end of file |