Skip to content

Commit

Permalink
Separate into different tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Aug 8, 2024
1 parent 9922d0c commit 8c33194
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build-image check format lint prod start test typecheck
.PHONY: build build-image check format lint prod start test typecheck

CADDY_PASSWORD=letmein
IMAGE_TAG=prereview-stats
Expand All @@ -15,8 +15,10 @@ node_modules: package.json package-lock.json
start: .env node_modules
npx @dotenvx/dotenvx run -- npx observable preview

build-image: .env node_modules
build: .env node_modules
npx @dotenvx/dotenvx run -- npx observable build

build-image: build
docker build --target prod --tag ${IMAGE_TAG} .

check: format lint test typecheck
Expand Down

0 comments on commit 8c33194

Please sign in to comment.