From 99e4aaa0d780f290f3b8135d6bad0ce5f3c94fcd Mon Sep 17 00:00:00 2001 From: hgw Date: Wed, 4 Oct 2023 12:16:52 +0000 Subject: [PATCH] Support pulling ircie during the docker build --- .gitignore | 3 ++- Cargo.toml | 2 +- src/main.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 03ba1f8..4c56058 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target Cargo.lock irc_config.yaml -hall_of_fame.yaml \ No newline at end of file +/save +/ircie \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index c36d674..8bdd648 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ircie = { path = "../ircie" } +ircie = { path = "./ircie" } tokio = { version = "1.28.2", features = ["full"] } env_logger = "0.10.0" rand = "0.8.5" diff --git a/src/main.rs b/src/main.rs index daa9ed9..eee1e97 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ use rand::{ }; use serde::{Deserialize, Serialize}; -const SAVE_LOC: &'static str = "hall_of_fame.yaml"; +const SAVE_LOC: &'static str = "save/hall_of_fame.yaml"; const PRESENTATIONS: &'static [&'static str] = &[ "A faggot coming straight from the underground!",