-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
36 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# | ||
# Cookbook Name:: pdepend | ||
# Cookbook:: pdepend | ||
# Attributes:: composer | ||
# | ||
# Copyright (c) 2016, David Joos | ||
# Copyright:: (c) 2016, David Joos | ||
# | ||
|
||
default['pdepend']['prefix'] = '/usr/bin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,14 @@ | |
maintainer_email '[email protected]' | ||
license 'MIT' | ||
description 'Installs/Configures pdepend' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '1.2.0' | ||
|
||
%w(debian ubuntu redhat centos fedora scientific amazon).each do |os| | ||
supports os | ||
end | ||
|
||
source_url 'https://github.com/djoos-cookbooks/pdepend' if respond_to?(:source_url) | ||
issues_url 'https://github.com/djoos-cookbooks/pdepend/issues' if respond_to?(:issues_url) | ||
source_url 'https://github.com/djoos-cookbooks/pdepend' | ||
issues_url 'https://github.com/djoos-cookbooks/pdepend/issues' | ||
|
||
depends 'php' | ||
depends 'composer' | ||
|
||
recipe 'pdepend', 'Installs pdepend.' | ||
recipe 'pdepend::composer', 'Installs pdepend using composer.' | ||
recipe 'pdepend::pear', 'Installs pdepend using pear.' | ||
recipe 'pdepend::phar', 'Installs pdepend using phar.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# | ||
# Cookbook Name:: pdepend | ||
# Cookbook:: pdepend | ||
# Recipe:: phar | ||
# | ||
# Copyright (c) 2016, David Joos | ||
# Copyright:: (c) 2016, David Joos | ||
# | ||
|
||
remote_file "#{node['pdepend']['install_dir']}/pdepend" do | ||
source node['pdepend']['phar_url'] | ||
mode 0755 | ||
mode '755' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
require 'rspec/expectations' | ||
require 'chefspec' | ||
require 'chefspec/berkshelf' | ||
|
||
at_exit { ChefSpec::Coverage.report! } |