21 lines
450 B
Makefile
21 lines
450 B
Makefile
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"
|