re-add patch to fix compiler warnings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-01-20 13:17:57 +01:00
parent 936339d55e
commit af90eb9434
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@ local PipelineBuild(arch='amd64') = {
'mkdir -p source/', 'mkdir -p source/',
'rustup set profile minimal', 'rustup set profile minimal',
'curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1', 'curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1',
#"grep -rlI 'Box<Error>' source/src/ | xargs sed -i 's/Box<Error>/Box<dyn Error>/g'", "grep -rlI 'Box<Error>' source/src/ | xargs sed -i 's/Box<Error>/Box<dyn Error>/g'",
'cd source/ && cargo build -j 8 --release', 'cd source/ && cargo build -j 8 --release',
], ],
}, },

View File

@ -14,6 +14,7 @@ steps:
- mkdir -p source/ - mkdir -p source/
- rustup set profile minimal - rustup set profile minimal
- curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1 - curl -sSL https://github.com/ViViDboarder/bitwarden_rs_ldap/archive/$LDAP_VERSION.tar.gz | tar xz -C source/ --strip-components=1
- grep -rlI 'Box<Error>' source/src/ | xargs sed -i 's/Box<Error>/Box<dyn Error>/g'
- cd source/ && cargo build -j 8 --release - cd source/ && cargo build -j 8 --release
environment: environment:
DB: postgresql DB: postgresql
@ -134,6 +135,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 4b98515dcbf92917241f232a1d1ba369becbe53f8ad7b26c06dadc98c883a236 hmac: 824a75171bdbd04a8fd94e0d3e5af270025f9be0b42e225db1c34cdbfe386ae8
... ...