[packaging] Add static files to the repo
This commit is contained in:
20
justfile
Normal file
20
justfile
Normal file
@ -0,0 +1,20 @@
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Build production webpack bundle
|
||||
build-prod:
|
||||
npm run prod
|
||||
|
||||
# Stage the built static files
|
||||
stage-static:
|
||||
git add mopidy_iris/static/
|
||||
|
||||
# Release: build, commit all changes, tag, and push
|
||||
release:
|
||||
npm run prod
|
||||
git add -A
|
||||
version=$$(cat IRIS_VERSION) && \
|
||||
git commit -m "Buildout $$version" && \
|
||||
git tag -a "$$version" -m "Buildout $$version" && \
|
||||
git push && \
|
||||
git push origin "$$version"
|
||||
Reference in New Issue
Block a user