mirror of
https://github.com/mozilla-services/syncstorage-rs.git
synced 2026-05-05 04:06:16 +02:00
parent
fc34353a0a
commit
291a40eaa4
12
Makefile
12
Makefile
@ -17,6 +17,10 @@ clippy:
|
||||
# Matches what's run in circleci
|
||||
cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
rm -r venv
|
||||
|
||||
docker_start_mysql:
|
||||
docker-compose -f docker-compose.mysql.yaml up -d
|
||||
|
||||
@ -35,8 +39,12 @@ docker_start_spanner_rebuild:
|
||||
docker_stop_spanner:
|
||||
docker-compose -f docker-compose.spanner.yaml down
|
||||
|
||||
run:
|
||||
RUST_LOG=debug RUST_BACKTRACE=full cargo run --features tokenserver_test_mode -- --config config/local.toml
|
||||
python:
|
||||
python3 -m venv venv
|
||||
venv/bin/python -m pip install -r requirements.txt
|
||||
|
||||
run: python
|
||||
PATH=./venv/bin:$(PATH) RUST_LOG=debug RUST_BACKTRACE=full cargo run --features tokenserver_test_mode -- --config config/local.toml
|
||||
|
||||
run_spanner:
|
||||
GOOGLE_APPLICATION_CREDENTIALS=$(PATH_TO_SYNC_SPANNER_KEYS) GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=$(PATH_TO_GRPC_CERT) make run
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user