make it possible to call DSL script
This commit is contained in:
parent
2578cd7a6d
commit
9c77ae9d2c
2 changed files with 75 additions and 0 deletions
4
bin/dat
4
bin/dat
|
@ -56,6 +56,10 @@ when :make
|
|||
puts "making..."
|
||||
require 'make'
|
||||
Make.command(options)
|
||||
when :execute
|
||||
puts "Ececuting: #{options.name}"
|
||||
require 'execute'
|
||||
Execute.file(options)
|
||||
when :goto
|
||||
Dir.chdir(ENV["DAT_ROOT"])
|
||||
when :vm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue