diff options
| author | realtradam <[email protected]> | 2022-01-22 00:02:26 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-01-22 00:02:26 -0500 |
| commit | 967dd3f04edc4c69d412b3d287f046cdf9270c81 (patch) | |
| tree | d610fa737523eaf124699e356abe1eb613bb23fa /Rakefile | |
| parent | 253d04b86952b021370eec7957784719900cb3ef (diff) | |
| download | FelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.tar.gz FelFlameEngine-967dd3f04edc4c69d412b3d287f046cdf9270c81.zip | |
fixed audio of web export
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |
