summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-01-22 00:02:26 -0500
committerrealtradam <[email protected]>2022-01-22 00:02:26 -0500
commit967dd3f04edc4c69d412b3d287f046cdf9270c81 (patch)
treed610fa737523eaf124699e356abe1eb613bb23fa /Rakefile
parent253d04b86952b021370eec7957784719900cb3ef (diff)
downloadFelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.tar.gz
FelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.zip
fixed audio of web export
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 0922c64..1ab116a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -51,7 +51,7 @@ namespace :build do
task :web => :bytecode do
Dir.mkdir("build/web") unless File.exists?("build/web")
Dir.chdir("build/web") do
- system("emcc -s WASM=1 -Os -I#{@include_dir}/raylib -I#{@include_dir}/mruby -I#{@bytecode_header_path} #{@vendor_dir}/boilerplate.c #{@library_dir}/web/mruby/libmruby.a #{@library_dir}/web/raylib/libraylib.a -o index.html --closure 1 -s USE_GLFW=3")
+ system("emcc -Os -Wall -I#{@include_dir}/raylib -I#{@include_dir}/mruby -I#{@bytecode_header_path} #{@vendor_dir}/boilerplate.c #{@library_dir}/web/mruby/libmruby.a #{@library_dir}/web/raylib/libraylib.a -o index.html -s USE_GLFW=3 -DPLATFORM_WEB --preload-file ./assets")
end
end
desc 'Build the game for Linux'