19 lines
276 B
Crystal
19 lines
276 B
Crystal
|
|
||
|
class Package::Instructions
|
||
|
class Set < Array(String)
|
||
|
# FIXME: def execute
|
||
|
end
|
||
|
|
||
|
getter configure = Set.new
|
||
|
getter build = Set.new
|
||
|
getter install = Set.new
|
||
|
|
||
|
def initialize
|
||
|
end
|
||
|
|
||
|
def map(&block : Proc(String, Nil))
|
||
|
(configure + build + install).map &block
|
||
|
end
|
||
|
end
|
||
|
|