Skip to content

Commit fa5bdbd

Browse files
committed
add makefile
1 parent e254e65 commit fa5bdbd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.PHONY: run
2+
3+
run:
4+
@command -v npx >/dev/null 2>&1 || { echo "npx not found. Please install Node.js and npm."; exit 1; }
5+
@npx eleventy --version >/dev/null 2>&1 || { echo "Eleventy not found. Installing dependencies..."; npm install; }
6+
npm run dev

0 commit comments

Comments
 (0)