Skip to content

Commit

Permalink
Add define_project section to project template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jun 15, 2013
1 parent da87f78 commit 9266a82
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/project/teapot.rb
@@ -1,4 +1,18 @@

define_project "$PROJECT_NAME" do |project|
project.description = <<-EOF
$PROJECT_NAME description.
EOF

project.summary = "$PROJECT_NAME short description."
project.license = "MIT"

project.add_author "Samuel Williams", :email => "samuel@oriontransfer.org", :website => "http://www.codeotaku.com"

project.website = "http://www.kyusu.org/projects/$PROJECT_TARGET_NAME"
project.version = "0.1.0"
end

define_target "$PROJECT_TARGET_NAME" do |target|
target.build do |environment|
build_directory(package.path, 'source', environment)
Expand Down

0 comments on commit 9266a82

Please sign in to comment.