Commit fadffc92 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Generate db connectors in Makefile

parent 3e18d6a7
debug: debug: src/db_conn_postgres.rs
RUST_BACKTRACE=1 cargo run --features 'watch debug' -- -a RUST_BACKTRACE=1 cargo run --features 'watch debug' -- -a
test: test: src/db_conn_postgres.rs
RUST_BACKTRACE=1 cargo test --features 'complete debug' RUST_BACKTRACE=1 cargo test --features 'complete debug'
release: release: src/db_conn_postgres.rs
env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --features 'server' env OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --features 'server'
stricttest: stricttest: src/db_conn_postgres.rs
cargo test --features 'strict complete debug' --verbose cargo test --features 'strict complete debug' --verbose
dynrelease: dynrelease: src/db_conn_postgres.rs
cargo build --release --features 'server' cargo build --release --features 'server'
format: format: src/db_conn_postgres.rs
cargo +nightly fmt cargo +nightly fmt
clippy: clippy: src/db_conn_postgres.rs
cargo clippy --all-targets --features 'complete debug' -- -D warnings -A clippy::redundant_field_names -A clippy::useless_format -A clippy::let_and_return -A clippy::type_complexity -A clippy::option_map_unit_fn -A clippy::identity_conversion -A clippy::expect_fun_call cargo clippy --all-targets --features 'complete debug' -- -D warnings -A clippy::redundant_field_names -A clippy::useless_format -A clippy::let_and_return -A clippy::type_complexity -A clippy::option_map_unit_fn -A clippy::identity_conversion -A clippy::expect_fun_call
src/db_conn_postgres.rs: src/db_conn_warning_header.txt src/db_conn_sqlite_new.header.rs src/db_conn_postgres.header.rs src/db_conn.base.rs
cd src; ./generate_connectors.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment