Module: Xgboost::Rake
- Extended by:
- Rake::DSL
- Defined in:
- lib/xgboost/rake.rb
Class Method Summary collapse
Class Method Details
.add_tasks ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'lib/xgboost/rake.rb', line 8 def self.add_tasks namespace :xgboost do desc 'Clones and compiles xgboost' task :install, :sha do |_t, args| cmd_args = [args[:sha]].compact system(File.join(Xgboost.root, 'bin', 'install_xgboost'), *cmd_args) end end end |