mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29:55 +00:00
bruh
This commit is contained in:
parent
710e7eb42a
commit
be1f3a2bac
2 changed files with 1 additions and 20 deletions
|
|
@ -1,19 +0,0 @@
|
||||||
# check for flags here:
|
|
||||||
# default configuration: https://github.com/mruby/mruby/blob/master/build_config/default.rb
|
|
||||||
# compilation guide: https://github.com/mruby/mruby/blob/master/doc/guides/compile.md
|
|
||||||
|
|
||||||
MRuby::Build.new do |conf|
|
|
||||||
conf.toolchain
|
|
||||||
|
|
||||||
# our gems
|
|
||||||
conf.gem '../../mrbgems/core'
|
|
||||||
conf.gem '../../mrbgems/oneshot'
|
|
||||||
conf.gem '../../mrbgems/sunshine' # :3
|
|
||||||
|
|
||||||
# core gems
|
|
||||||
conf.gem :core => 'mruby-bin-config' # mruby-config would be used in CMakeLists.txt
|
|
||||||
|
|
||||||
if ENV.include?('DEBUG')
|
|
||||||
conf.enable_debug
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
@ -62,7 +62,7 @@ public:
|
||||||
#elif __EMSCRIPTEN__
|
#elif __EMSCRIPTEN__
|
||||||
emscripten_console_log(buf.str().c_str());
|
emscripten_console_log(buf.str().c_str());
|
||||||
#else
|
#else
|
||||||
std::cerr << buf.str() << std::endl;
|
std::cerr << buf.str() << "\n";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue