mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-06-09 22:43:33 -07:00
server: update run.sh
This commit is contained in:
+6
-2
@@ -1,7 +1,11 @@
|
||||
if cargo watch --help &> /dev/null; then
|
||||
TRIGGER="./in/datasets_len.txt"
|
||||
echo "0" > $TRIGGER
|
||||
cargo watch --no-vcs-ignores -w "./src" -w "./run.sh" -w "$TRIGGER" -x "run -r"
|
||||
|
||||
if [ ! -f "$TRIGGER" ]; then
|
||||
echo "0" > $TRIGGER
|
||||
fi
|
||||
|
||||
cargo watch --no-vcs-ignores -w "./src" -w "$TRIGGER" -x "run -r"
|
||||
else
|
||||
cargo run -r
|
||||
fi
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
use std::{fmt::Debug, path::Path};
|
||||
|
||||
use bincode::Decode;
|
||||
use parser::{Date, SerializedBTreeMap, SerializedVec};
|
||||
use serde::{de::DeserializeOwned, Serialize};
|
||||
|
||||
use crate::routes::Route;
|
||||
|
||||
pub fn import_map<T>(route: &Route) -> color_eyre::Result
|
||||
where
|
||||
T: Serialize + Debug + DeserializeOwned + Decode,
|
||||
{
|
||||
}
|
||||
|
||||
pub fn import_vec<T>(route: &Route) -> color_eyre::Result
|
||||
where
|
||||
T: Serialize + Debug + DeserializeOwned + Decode,
|
||||
{
|
||||
}
|
||||
|
||||
pub fn import_value<T>(route: &Route) -> color_eyre::Result<T>
|
||||
where
|
||||
T: Serialize + Debug + DeserializeOwned + Decode,
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user