#!/usr/bin/env ruby
# frozen_string_literal: true

require 'nanoc'
require 'nanoc/orig_cli'

if File.file?('Gemfile') && !defined?(Bundler)
  warn 'A Gemfile was detected, but Bundler is not loaded. This is probably not what you want. To run Nanoc with Bundler, use `bundle exec nanoc`.'
end

Nanoc::CLI.run(ARGV)
