This repository has been archived on 2022-01-17. You can view files and clone it, but cannot push or open issues/pull-requests.
packaging/src/instructions.cr

19 lines
276 B
Crystal
Raw Normal View History

2019-07-02 03:50:50 +02:00
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