Sha256: 713e02aa5e69e6fd503b15cec178ee1909a1cb31f08855164ee2f82f2af0a615
Contents?: true
Size: 838 Bytes
Versions: 6
Compression:
Stored size: 838 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 require 'optparse' $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) options = {} parser = OptionParser.new do |opts| opts.banner = <<BANNER Vendorer keeps your vendor files up to date. Usage: Create a Vendorfile in your project root with: file 'public/javascripts/jquery.min.js' => 'http://code.jquery.com/jquery-latest.min.js' folder 'vendor/plugins/parallel_tests' => 'https://github.com/grosser/parallel_tests.git' Run `vendorer` to install. Run `vendorer update` to update. Options: BANNER opts.on("-v", "--version", "Show Version"){ require 'vendorer/version' puts Vendorer::VERSION exit } opts.on("-h", "--help", "Show this.") { puts opts; exit } end parser.parse! require 'vendorer' Vendorer.new(:update => (ARGV[1] || true if ARGV[0] == 'update'))
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
vendorer-0.1.5 | bin/vendorer |
vendorer-0.1.4 | bin/vendorer |
vendorer-0.1.3 | bin/vendorer |
vendorer-0.1.2 | bin/vendorer |
vendorer-0.1.1 | bin/vendorer |
vendorer-0.1.0 | bin/vendorer |