Update upstream cookbooks
This commit is contained in:
15
cookbooks/build-essential/libraries/_msys_helper.rb
Normal file
15
cookbooks/build-essential/libraries/_msys_helper.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
module BuildEssential
|
||||
module MsysHelper
|
||||
#
|
||||
# This function returns a struct representing an
|
||||
# msys package. It has two fields: url and checksum
|
||||
#
|
||||
# @return [OpenStruct]
|
||||
#
|
||||
def msys_p(url, checksum)
|
||||
OpenStruct.new(url: url, checksum: checksum)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Chef::Recipe.send(:include, BuildEssential::MsysHelper)
|
||||
Reference in New Issue
Block a user