forked from EasyPost/easypost-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (28 loc) · 745 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## help - Display help about make targets for this Makefile
help:
@cat Makefile | grep '^## ' --color=never | cut -c4- | sed -e "`printf 's/ - /\t- /;'`" | column -s "`printf '\t'`" -t
## brakeman - Runs security analysis on the project with Brakeman
brakeman:
brakeman lib --force
## build - Builds the project
build:
gem build easypost.gemspec
## clean - Cleans the project
clean:
rm -rf coverage doc *.gem
## fix - Fix Rubocop errors
fix:
rubocop -A
## install - Install globally from source
install:
bundle install
## lint - Lint the project
lint:
rubocop
## push - Pushes the built gem to Rubygems
push:
gem push *.gem
## test - Test the project
test:
bundle exec rspec
.PHONY: help build clean fix install lint push test