diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-03-08 22:00:06 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-03-08 22:00:06 +0900 |
| commit | 441c964716a0279f7f37cad06978d6261a1651db (patch) | |
| tree | 267ad5cf56786b5526fbd8ec1dddf32c9e164519 /Rakefile | |
| parent | 4fb3edce115456df96eb5f9191582ed73c5c9ef4 (diff) | |
| download | mruby-441c964716a0279f7f37cad06978d6261a1651db.tar.gz mruby-441c964716a0279f7f37cad06978d6261a1651db.zip | |
Allow `enable_bintest` without `enable_test` in build config
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -123,20 +123,21 @@ end desc "run all mruby tests" task :test MRuby.each_target do - next unless test_enabled? - - t = :"test_#{self.name}" - task t => ["all"] do - run_test + if test_enabled? + t = :"test_#{self.name}" + task t => ["all"] do + run_test + end + task :test => t end - task :test => t - next unless bintest_enabled? - t = :"bintest_#{self.name}" - task t => ["all"] do - run_bintest + if bintest_enabled? + t = :"bintest_#{self.name}" + task t => ["all"] do + run_bintest + end + task :test => t end - task :test => t end desc "clean all built and in-repo installed artifacts" |
