Don't pollute web source dir with build artifacts
This commit is contained in:
parent
c31ebea3bd
commit
55d6de8eb9
@ -242,7 +242,7 @@ main :: proc() {
|
||||
"main_web",
|
||||
"-target:js_wasm32",
|
||||
"-build-mode:obj",
|
||||
"-out:main_web/game",
|
||||
"-out:build/web/game",
|
||||
},
|
||||
COMMON_FLAGS,
|
||||
debug_flag,
|
||||
@ -257,7 +257,7 @@ main :: proc() {
|
||||
"-g",
|
||||
"-o",
|
||||
"build/web/index.html",
|
||||
"main_web/game.wasm.o",
|
||||
"build/web/game.wasm.o",
|
||||
"libs/raylib/zig-out-static/lib/libraylib.a",
|
||||
"libs/physfs/build/libphysfs.a",
|
||||
"-sUSE_GLFW=3",
|
||||
@ -272,6 +272,7 @@ main :: proc() {
|
||||
},
|
||||
"",
|
||||
)
|
||||
remove_file("./build/web/game.wasm.o")
|
||||
|
||||
copy_file(
|
||||
filepath.join(
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user