bin/aetherg in aetherg-0.2.7 vs bin/aetherg in aetherg-0.3.1
- old
+ new
@@ -1,6 +1,11 @@
#!/usr/bin/env ruby
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))) unless $:.include? File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
require "aetherg"
+if ARGV[0] == "--version" || ARGV[0] == "-v"
+ puts "Aetherg v#{Aetherg::VERSION}(#{Aetheg::BUILD})"
+ exit
+end
+
Aetherg::Generator.start