Created
November 1, 2012 13:31
-
-
Save bryanwb/3993645 to your computer and use it in GitHub Desktop.
wacky dsl idea for ark
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
build "collectd" | |
ark do | |
url "http://..." | |
checksum "asdfads" | |
end | |
configure do # creates defaults to "config.status" | |
flags [ "--enable-python", "--enable-jvm" ] | |
prefix "/opt" | |
end | |
make do | |
flags [ "OS=linux" ] | |
creates 'bin/collectd' | |
end | |
make "install" { creates "/usr/bin/collect" } | |
end | |
# python example | |
build "carbon" | |
ark do | |
url "http://" | |
checksum "asdfas080998" | |
version "3.1" | |
end | |
python do | |
setup_py [ "build", "install" ] | |
creates "/usr/sbin/carbon-cache" | |
end | |
end | |
# ant example | |
build "zookeeper" do | |
ark do | |
url 'http://....' | |
checksum 'asdf09808' | |
version "1.0" | |
ant do | |
flags [ "-DSuperFunkyJVMOption=99m"] | |
creates "bin/zk" | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment