Skip to content

Commit

Permalink
Makefileで、build/up/down/testできるようにする
Browse files Browse the repository at this point in the history
  • Loading branch information
kfly8 committed Dec 6, 2023
1 parent b952ec1 commit 2595704
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Makefile
inc/
MANIFEST
*.bak
Expand Down
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

.PHONY: build
build:
docker-compose -f docker-compose.yml build web

.PHONY: up
up:
make build
docker-compose -f docker-compose.yml up -d web

.PHONY: down
down:
docker-compose -f docker-compose.yml down

.PHONY: test
test:
docker-compose -f docker-compose.yml build test
docker-compose -f docker-compose.yml run test prove -Ilib -r -v t

0 comments on commit 2595704

Please sign in to comment.