Sha256: 7be9b57de14cac09869ccd5877e9a9a6eceb7d71bfd0c8d6b2baf920617aca6e
Contents?: true
Size: 496 Bytes
Versions: 4
Compression:
Stored size: 496 Bytes
Contents
#!/usr/bin/env ruby require 'boojs' require 'optparse' require 'phantomjs' #Parse ########################################## parser = OptionParser.new do |opts| opts.banner = "Usage: boojs [-v file] [file]" opts.on "-v FILE" do |f| @vfile = f end end parser.parse! file = ARGV.pop ########################################## #Run verify or run stdin/stdout mode? if @vfile BooJS.verify File.read(@file) else if file BooJS.pipe File.read(file) else BooJS.pipe end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
boojs-0.0.11 | bin/boojs |
boojs-0.0.10 | bin/boojs |
boojs-0.0.9 | bin/boojs |
boojs-0.0.7 | bin/boojs |