canary/Makefile

25 lines
467 B
Makefile
Raw Normal View History

all: check container
check: spec check-container
spec: depends
./scripts/ruby bundle exec rspec -c
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