1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-22 05:10:29 +01:00

remove syslog from ci, make features flag more clear

Dieser Commit ist enthalten in:
Nils Domrose 2019-05-30 22:19:58 +02:00
Ursprung 6f7220b68e
Commit 62a461ae15
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -18,8 +18,8 @@ steps:
cargo -V cargo -V
displayName: Query rust and cargo versions displayName: Query rust and cargo versions
- script : cargo build --features "sqlite enable_syslog" - script : cargo build --features "sqlite"
displayName: 'Build project with sqlite backend' displayName: 'Build project with sqlite backend'
- script : cargo build --features "mysql enable_syslog" - script : cargo build --features "mysql"
displayName: 'Build project with mysql backend' displayName: 'Build project with mysql backend'

Datei anzeigen

@ -48,6 +48,9 @@ fn main() {
#[cfg(all(feature = "sqlite", feature = "mysql"))] #[cfg(all(feature = "sqlite", feature = "mysql"))]
compile_error!("Can't enable both backends"); compile_error!("Can't enable both backends");
#[cfg(not(any(feature = "sqlite", feature = "mysql")))]
compile_error!("You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite");
check_db(); check_db();
check_rsa_keys(); check_rsa_keys();
check_web_vault(); check_web_vault();