lib/bivouac/template/console.rb in bivouac-0.2.5 vs lib/bivouac/template/console.rb in bivouac-0.3.0
- old
+ new
@@ -1,5 +1,13 @@
#!/usr/bin/env ruby
+#
+# Project <%= @conf.appname %>
+#
+# Created using bivouac on <%= Time.now %>.
+# Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
+#
+# DO NOT EDIT THIS FILE OR YOU REALLY KNOW WHAT YOU ARE DOING
+#
require 'rubygems'
app = File.dirname(__FILE__) + "/../app/<%= @conf.appfile %>.rb"
ENV['BIVOUAC_ROOT'] = File.expand_path( File.dirname(__FILE__) + "/../" )
system "ruby #{app} -c #{ARGV.join(' ')}"