diff options
| author | Tom Black <[email protected]> | 2018-09-29 17:31:21 -0700 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2018-10-05 14:09:05 -0700 |
| commit | 78ad996d017d833f31fb0c3337630590bc110d61 (patch) | |
| tree | a5512398a9a694ec2b9c5edbe31d0ff7367fe713 | |
| parent | b4bbf346ea7f124c8614467a0e47bd4062504d63 (diff) | |
| download | ruby2d-78ad996d017d833f31fb0c3337630590bc110d61.tar.gz ruby2d-78ad996d017d833f31fb0c3337630590bc110d61.zip | |
Temporarily disable building for web while transitioning to WebAssembly
| -rw-r--r-- | .travis.yml | 2 | ||||
| -rw-r--r-- | Rakefile | 1 | ||||
| -rwxr-xr-x | bin/ruby2d | 5 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 0434740..377b7a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ script: - rake - ruby2d build --native test/ci-build.rb - ./build/app - - ruby2d build --web test/ci-build.rb + # - ruby2d build --web test/ci-build.rb @@ -46,6 +46,7 @@ def run_web_test(file) print_task "Running web test: #{file}.rb" run_cmd "ruby2d build --clean" run_cmd "ruby2d build --web test/#{file}.rb --debug" + return # temporarily disable open_cmd = 'open' case RUBY_PLATFORM when /linux/ @@ -6,6 +6,7 @@ require 'fileutils' class String def colorize(c); "\e[#{c}m#{self}\e[0m" end def bold; colorize('1') end + def warn; colorize('1;33') end def error; colorize('1;31') end end @@ -120,6 +121,9 @@ end # Build a web-based version of the provided Ruby application def build_web(rb_file) + puts "Warning: ".warn + "This feature is currently disabled while it's being upgraded." + return + check_build_src_file(rb_file) # Assemble the Ruby 2D library in one `.rb` file and compile to JS @@ -291,6 +295,7 @@ To compile and create a native executable, use: To build for the web, creating a JavaScript and HTML package, use: build --web <ruby_file> + #{"Warning:".warn} #{"This feature is currently disabled while it's being upgraded.".bold} To build an iOS or tvOS app, use the following: build --ios <ruby_file> |
