Sha256: f700785b91054dfa940fc3561fee1827fcbb0f6076a4fb49085a7222128bb11f
Contents?: true
Size: 739 Bytes
Versions: 4
Compression:
Stored size: 739 Bytes
Contents
#!/usr/bin/env ruby # # WLang: Code generation/Templating engine tool # (see lib/wlang/wlang.rb for more information) # # Copyright (c) 2009 University of Louvain, Bernard & Louis Lambeau # Released under a MIT or Ruby licence # $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'wlang' require 'wlang/wlang_command' begin r = WLang::WLangCommand.new r.run ARGV rescue ::WLang::Error => e $stderr.puts e.message $stderr.puts e.wlang_backtrace.join("\n\t") $stderr.puts e.backtrace.join("\n\t") rescue Interrupt => e $stderr.puts $stderr.puts "Interrupted" raise e rescue OptionParser::ParseError => e $stderr.puts e.message raise e rescue => e $stderr.puts e.message raise e end
Version data entries
4 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wlang-0.10.2 | bin/wlang |
wlang-0.10.1 | ./bin/wlang |
wlang-0.10.1 | bin/wlang |
wlang-0.10.0 | bin/wlang |