canary/Makefile

31 lines
617 B
Makefile
Raw Normal View History

all: check container
check: spec check-container
spec: depends
./scripts/ruby bundle exec rspec -c \
--order random \
--format progress \
--format html --out rspec.html
rubocop: depends
./scripts/ruby bundle exec rubocop
depends: Gemfile
./scripts/ruby bundle install
run: depends
./scripts/ruby bundle exec puma
check-container: container
docker run --rm rtyler/codevalet-canary:latest bundle exec puma --version
container: depends Dockerfile
docker build -t rtyler/codevalet-canary .
clean:
rm -rf vendor
.PHONY: all depends clean run check container spec check-container rubocop