docker makefile rules and updated widget res

This commit is contained in:
realaravinth 2021-07-05 02:22:02 +05:30
parent e1e1040ca9
commit 5d55971f19
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
3 changed files with 17 additions and 8 deletions

View file

@ -1,4 +1,3 @@
# WIP
default: frontend
cargo build
@ -34,18 +33,28 @@ clean:
cargo clean
yarn clean
docker-build:
docker build -t mcaptcha/mcaptcha:master -t mcaptcha/mcaptcha:latest .
docker-publish: docker-build
docker push mcaptcha/mcaptcha:master
docker push mcaptcha/mcaptcha:latest
migrate:
cargo run --bin tests-migrate
help:
@echo ' run - run developer instance'
@echo ' test - run unit and integration tests'
@echo ' clean - drop builds and environments'
@echo ' coverage - build test coverage in HTML format'
@echo ' dev-env - download dependencies'
@echo ' docker-build - build docker image'
@echo ' docker-publish - build and publish docker image'
@echo ' docs - build documentation'
@echo ' frontend-dev - build static assets in dev mode'
@echo ' frontend - build static assets in prod mode'
@echo ' migrate - run database migrations'
@echo ' dev-env - download dependencies'
@echo ' docs - build documentation'
@echo ' clean - drop builds and environments'
@echo ' coverage - build test coverage in HTML format'
@echo ' run - run developer instance'
@echo ' test - run unit and integration tests'
@echo ' xml-coverage - build test coverage in XML for upload to codecov'
@echo ''

Binary file not shown.

File diff suppressed because one or more lines are too long