save
This commit is contained in:
parent
b3dba4542f
commit
0c98334d1c
9 changed files with 151 additions and 0 deletions
|
@ -36,7 +36,15 @@ module Make
|
|||
@name = options.name
|
||||
@use_cache = options.use_cache || false
|
||||
|
||||
#System.detect_os
|
||||
# rbenv: brew install rbenv && rbenv install 3.0.0
|
||||
# asdf: asdf install ruby 3.0.0
|
||||
|
||||
makefile_path = "#{ENV["DAT_ROOT"]}/recipes/#{@name}.yml"
|
||||
unless File.file?(makefile_path)
|
||||
makefile_path = "#{ENV["DAT_ROOT"]}/recipes/#{@name}/#{System.detect_os}.yml"
|
||||
end
|
||||
|
||||
puts "recipe at: #{makefile_path}"
|
||||
makefile = YAML.load_file(makefile_path)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue