mirror of
https://github.com/aljazceru/nostr-profile-manager.git
synced 2025-12-17 05:34:20 +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 -r src/img dist/img
|
||||
|
||||
deploy:
|
||||
deploy: lint build
|
||||
wrangler pages publish --project-name metadata-contacts-relays dist/
|
||||
|
||||
lint:
|
||||
eslint src/ --ext .js,.jsx,.ts,.tsx
|
||||
|
||||
build-and-deploy: build deploy
|
||||
|
||||
serve:
|
||||
fd '.ts|.html|.css' | entr -r bash -c 'just build && python -m http.server -d dist/ 8080'
|
||||
|
||||
Reference in New Issue
Block a user