feat: update drone
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-11 14:30:46 +01:00
parent de1ff1b9a6
commit a444bff1ee
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,7 @@ steps:
- "load_secret" - "load_secret"
- name: build main - name: build main
image: kasperhermansen/cuddle-rust-service-plan:main-1706991030 image: kasperhermansen/cuddle-rust-service-plan:main-1707658158
pull: always pull: always
volumes: volumes:
- name: ssh - name: ssh

View File

@ -1,6 +1,8 @@
use std::path::PathBuf; use std::path::PathBuf;
fn main() { fn main() {
println!("cargo:rerun-if-changed=main.rs");
let proto_dir = PathBuf::from(std::env!("CARGO_MANIFEST_DIR")) let proto_dir = PathBuf::from(std::env!("CARGO_MANIFEST_DIR"))
.join("schemas") .join("schemas")
.join("proto"); .join("proto");