Add Composer, Mermaid extension

This commit is contained in:
2018-06-01 17:04:15 +02:00
parent 9c0ce30780
commit af6fe37e0b
16 changed files with 701 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#
# Cookbook Name:: composer
# Resource:: install_global
#
# Copyright 2012-2014, Escape Studios
#
actions :install, :update, :remove
default_action :install
attribute :package, :kind_of => String, :name_attribute => true, :required => true
attribute :version, :kind_of => String, :default => '*.*.*'
attribute :install_dir, :kind_of => String, :default => nil
attribute :bin_dir, :kind_of => String, :default => nil
attribute :dev, :kind_of => [TrueClass, FalseClass], :default => false
attribute :quiet, :kind_of => [TrueClass, FalseClass], :default => true
attribute :optimize_autoloader, :kind_of => [TrueClass, FalseClass], :default => false
attribute :prefer_dist, :kind_of => [TrueClass, FalseClass], :default => false
attribute :prefer_source, :kind_of => [TrueClass, FalseClass], :default => false
def initialize(*args)
super
@action = :install
end