Sha256: a177b2957deae0307afd08f53062a22bc695de55665b18eaed3490ccf2ccb1e8
Contents?: true
Size: 564 Bytes
Versions: 2
Compression:
Stored size: 564 Bytes
Contents
#!/usr/bin/env ruby require "fileutils" # path to your application root. APP_ROOT = File.expand_path("..", __dir__) def system!(*args) system(*args) || abort("\n== Command #{args} failed ==") end FileUtils.chdir APP_ROOT do # This script is a way to set up or update your development environment automatically. # This script is idempotent, so that you can run it at any time and get an expectable outcome. # Add necessary setup steps to this file. puts "== Running rubocop ==" system! "bundle exec rubocop --autocorrect-all --fail-level error" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
staticky-0.1.1 | site_template/bin/lint |
staticky-0.1.0 | site_template/bin/lint |