Sha256: f4d4a2da08e2f5183d787fc6282bdef70ed65c8a393d7020901f09b65c447575
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
#!/usr/bin/env ruby # Add lib to load path $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../lib')) # Print deprecation warning $stderr.puts <<-EOS +----------------------------------------------------------------------------+ | WARNING: nanoc 2.x has been superseded by nanoc 3.x and is no longer main- | | tained. There will be no future updates to nanoc 2.x. Consider upgrading | | to nanoc 3.x. For more information, see the nanoc 2.x-to-3.x migration | | guide at <http://nanoc.stoneship.org/migrating/>. | +----------------------------------------------------------------------------+ EOS $stderr.puts # Load nanoc require 'nanoc2' require 'nanoc2/cli' # Load custom code that can't be load later Dir['lib/commands/*.rb'].each { |f| require f } Dir['lib/data_sources/*.rb'].each { |f| require f } # Run base Nanoc2::CLI::Base.new.run(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nanoc2-2.2.3 | bin/nanoc2 |