mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
setup openapi spec build chain
This commit is contained in:
8
Makefile
8
Makefile
@@ -31,15 +31,23 @@ docker-publish:
|
||||
|
||||
frontend:
|
||||
cd browser && wasm-pack build --release
|
||||
cd docs/openapi/ yarn build
|
||||
yarn install
|
||||
yarn build
|
||||
|
||||
frontend-test:
|
||||
cd browser && wasm-pack test --release --headless --chrome
|
||||
cd browser && wasm-pack test --release --headless --firefox
|
||||
cd docs/openapi && yarn test
|
||||
cd browser && cargo test
|
||||
yarn test
|
||||
|
||||
lint:
|
||||
cargo fmt -v --all -- --emit files
|
||||
cargo clippy --workspace --tests --all-features
|
||||
yarn lint
|
||||
cd docs/openapi && yarn test
|
||||
|
||||
migrate:
|
||||
cargo run --bin tests-migrate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user