mirror of
https://github.com/aljazceru/nostr-profile-manager.git
synced 2025-12-17 21:54:19 +01:00
always build before deploying.
This commit is contained in:
4
justfile
4
justfile
@@ -5,13 +5,11 @@ build:
|
|||||||
cp src/index.html dist/index.html
|
cp src/index.html dist/index.html
|
||||||
cp -r src/img dist/img
|
cp -r src/img dist/img
|
||||||
|
|
||||||
deploy:
|
deploy: lint build
|
||||||
wrangler pages publish --project-name metadata-contacts-relays dist/
|
wrangler pages publish --project-name metadata-contacts-relays dist/
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
eslint src/ --ext .js,.jsx,.ts,.tsx
|
eslint src/ --ext .js,.jsx,.ts,.tsx
|
||||||
|
|
||||||
build-and-deploy: build deploy
|
|
||||||
|
|
||||||
serve:
|
serve:
|
||||||
fd '.ts|.html|.css' | entr -r bash -c 'just build && python -m http.server -d dist/ 8080'
|
fd '.ts|.html|.css' | entr -r bash -c 'just build && python -m http.server -d dist/ 8080'
|
||||||
|
|||||||
Reference in New Issue
Block a user