Skip to content

Commit

Permalink
Add make lint
Browse files Browse the repository at this point in the history
This will perform any static code analysis that is necessary.
  • Loading branch information
booch committed Jan 20, 2021
1 parent a41ac1a commit 1bb6658
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ setup: setup-overcommit
console:
bundle exec irb -I src -rubygems -r stone/cli.rb

setup-overcommit: .git/hooks/overcommit-hook
lint: rubocop


verify-specs: bundle
bin/stone --debug verify docs/specs/*.md

setup-overcommit: .git/hooks/overcommit-hook

bundle:
ifneq ($(BUNDLE_CHECK), 0)
bundle
Expand All @@ -25,3 +28,6 @@ Gemfile.lock: Gemfile
bundle exec overcommit --install
bundle exec overcommit --sign
bundle exec overcommit --sign pre-commit

rubocop:
bundle exec rubocop .

0 comments on commit 1bb6658

Please sign in to comment.