Skip to content

Commit

Permalink
make pack (only for windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
platonvin committed Jul 11, 2024
1 parent ce195b9 commit 05dd409
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ nv_traces
amd_traces
intel_traces
temp.*
package
package.zip
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,16 @@ fun:
opt: client_opt
# client.exe
clean:
-del "obj\*.o"
-del "shaders\compiled\*.spv"
del "obj\*.o"
del "shaders\compiled\*.spv"
test: test.cpp
g++ test.cpp -o test
test
#FUCK CMAKE
pack:
mkdir "package"
mkdir "package/shaders/compiled"
mkdir "package/assets"
copy "client.exe" "package/client.exe"
copy "shaders/compiled" "package/shaders/compiled"
copy "assets" "package/assets"
powershell Compress-Archive -Update package package.zip

0 comments on commit 05dd409

Please sign in to comment.