chore: Build pipeline for books/core
This commit is contained in:
7
Justfile
7
Justfile
@@ -15,5 +15,12 @@ serve:
|
|||||||
deploy: build
|
deploy: build
|
||||||
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
|
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
|
||||||
|
|
||||||
|
core-format:
|
||||||
|
find books/core -type f -name "*.html" -exec npx prettier --write {} \;
|
||||||
|
|
||||||
|
core-build:
|
||||||
|
cd books/core && python3 build.py
|
||||||
|
npx prettier --write books/core/index.html
|
||||||
|
|
||||||
build:
|
build:
|
||||||
npm run build
|
npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user