Sha256: 1ab7bc20ade03ae08d32bddbb643a1b91c62e3513eb714638ca59cb8be70f626
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 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") 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wlang-0.9.2 | bin/wlang |
wlang-0.9.1 | bin/wlang |