summaryrefslogtreecommitdiffstats
path: root/src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:08:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:08:18 +0000
commit5da14042f70711ea5cf66e034699730335462f66 (patch)
tree0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz
netdata-5da14042f70711ea5cf66e034699730335462f66.zip
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile')
-rw-r--r--src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile b/src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile
new file mode 100644
index 000000000..0c0c78ea1
--- /dev/null
+++ b/src/web/server/h2o/libh2o/deps/mruby-input-stream/Rakefile
@@ -0,0 +1,28 @@
+MRUBY_CONFIG=File.expand_path(ENV["MRUBY_CONFIG"] || "./build_config_sample.rb")
+RAKE="ruby ./minirake"
+
+file :mruby do
+ sh "git clone --depth 1 git://github.com/mruby/mruby.git"
+end
+
+task :default => :test
+
+desc "test this mrbgem"
+task :test => :mruby do
+ sh "cd mruby && MRUBY_CONFIG=#{MRUBY_CONFIG} #{RAKE} test"
+end
+
+desc "build mruby with this mrbgem"
+task :build => :mruby do
+ sh "cd mruby && MRUBY_CONFIG=#{MRUBY_CONFIG} #{RAKE} all"
+end
+
+desc "cleanup"
+task :clean do
+ sh "cd mruby && rake deep_clean" if File.exist?("mruby")
+end
+
+desc "cleanup including temporary files"
+task :realclean do
+ sh "rm -rf mruby"
+end