Skip to content

Instantly share code, notes, and snippets.

@erikh
Forked from bryanwb/ark_dsl.rb
Created November 1, 2012 13:55
Show Gist options
  • Save erikh/3993757 to your computer and use it in GitHub Desktop.
Save erikh/3993757 to your computer and use it in GitHub Desktop.
wacky dsl idea for ark
build "collectd"
# this would call the ark provider in the build provider
ark do
url "http://..."
checksum "asdfasdf"
end
# or,
source "foo.tar.gz"
configure do # creates defaults to "config.status"
flags [ "--enable-python", "--enable-jvm" ]
prefix "/opt"
end
make do
env [ "OS=linux" ]
creates 'bin/collectd'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment