summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-01-28 03:25:32 -0500
committerrealtradam <[email protected]>2022-01-28 03:25:32 -0500
commit9979031c625ca29a26831c4b27c230978d22b774 (patch)
tree1689ad2c7fef8878f9870394ffd9c03d4e02a1c0
parent0d59fff9a41f9c7b80f0e7fde7068d56bfc56c7c (diff)
downloadFelFlameEngine-9979031c625ca29a26831c4b27c230978d22b774.tar.gz
FelFlameEngine-9979031c625ca29a26831c4b27c230978d22b774.zip
increased web export ram size
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index e89b757..1a575fe 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 -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 --shell-file #{@vendor_dir}/html/minshell.html")
+ 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 --shell-file #{@vendor_dir}/html/minshell.html -s TOTAL_MEMORY=268435456") # -s ASYNCIFY
end
end
desc 'Build the game for Linux'