mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
fix CI error and cache clippy and fmt jobs
This commit is contained in:
15
Makefile
15
Makefile
@@ -13,11 +13,6 @@ coverage: migrate ## Generate code coverage report in HTML format
|
||||
cd browser && cargo tarpaulin -t 1200 --out Html
|
||||
cargo tarpaulin -t 1200 --out Html
|
||||
|
||||
dev-env: ## Setup development environtment
|
||||
cargo fetch
|
||||
yarn install
|
||||
cd docs/openapi && yarn install
|
||||
|
||||
doc: ## Generate documentation
|
||||
#yarn doc
|
||||
cargo doc --no-deps --workspace --all-features
|
||||
@@ -30,9 +25,15 @@ docker-publish: docker ## Build and publish Docker image
|
||||
docker push mcaptcha/mcaptcha:master
|
||||
docker push mcaptcha/mcaptcha:latest
|
||||
|
||||
frontend: ## Build frontend
|
||||
env: ## Setup development environtment
|
||||
cargo fetch
|
||||
cd browser && wasm-pack build --release
|
||||
yarn install
|
||||
cd docs/openapi && yarn install
|
||||
|
||||
frontend: env ## Build frontend
|
||||
cd docs/openapi/ && yarn build
|
||||
cd browser && wasm-pack build --release
|
||||
cd docs/openapi/ yarn build
|
||||
yarn install
|
||||
yarn build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user