Set up thermite

This commit is contained in:
Matthias Beyer 2017-02-04 12:30:55 +01:00
parent 14a6124704
commit 1ca1a46cd4
3 changed files with 12 additions and 1 deletions

View file

@ -1,2 +1,5 @@
require "bundler/gem_tasks"
task :default => :spec
require 'thermite/tasks'
Thermite::Tasks.new(cargo_project_path: "..", cargo_workspace_member: "libimagruby")

5
libimagruby/ext/Rakefile Normal file
View file

@ -0,0 +1,5 @@
require 'thermite/tasks'
Thermite::Tasks.new(cargo_project_path: "..", cargo_workspace_member: "libimagruby")
task default: %w(thermite:build)

View file

@ -23,4 +23,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.13"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency 'thermite', "~> 0.11", ">= 0.11.1"
spec.extensions << 'ext/Rakefile'
end