| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 1 | all: install check build-tailwind |
| 2 | |||||
| 3 | install: | ||||
| 4 | npm ci | ||||
| 5 | |||||
| 6 | # TypeScript type checking | ||||
| 7 | # Note: The actual esbuild bundling happens in esbuild.go | ||||
| 8 | check: | ||||
| 9 | npx tsc --noEmit | ||||
| 10 | |||||
| 11 | build-tailwind: | ||||
| 12 | npx postcss ./src/input.css -o ./src/tailwind.css | ||||
| 13 | |||||
| 14 | watch-tailwind: | ||||
| 15 | npx postcss -i ./src/input.css -o ./src/tailwind.css --watch | ||||
| 16 | |||||
| 17 | clean: | ||||
| 18 | rm -rf node_modules | ||||
| 19 | -rm -f ./src/tailwind.css | ||||