Created
November 14, 2011 22:49
-
-
Save jslatts/1365470 to your computer and use it in GitHub Desktop.
Chef recipe to pull from hg and build
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
# | |
# Cookbook Name:: aggdraw::install | |
# Recipe:: default | |
# | |
# Copyright 2011, SGL | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# Download and install aggdraw from our local repository | |
include_recipe "aggdraw" | |
execute "build aggdraw" do | |
command "python setup.py clean build install" | |
cwd "/tmp/source/aggdraw" | |
action :run | |
end | |
# | |
# Cookbook Name:: aggdraw | |
# Recipe:: default | |
# | |
# Copyright 2011, SGL | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# Download and install aggdraw from our local repository | |
include_recipe "mercurial" | |
include_recipe "hg" | |
directory "/tmp/source" do | |
owner "root" | |
group "root" | |
mode "0755" | |
action :create | |
end | |
hg "/tmp/source/aggdraw" do | |
repository "http://siggenweb02.perkinelmer.net/FogBugz/kiln/Repo/Misc/Group/aggdraw" | |
reference "tip" | |
action :sync | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment