From 575f4cfbb939f67de47dcbac70962d220772942c Mon Sep 17 00:00:00 2001 From: Thilo Behnke Date: Mon, 8 Aug 2022 20:16:01 +0200 Subject: [PATCH] bugfix/issue-with-chrono-dep-on-workspace-member --- pong/.gitignore | 1 + run-server.dev.sh | 4 ++++ run-server.sh | 4 ++++ server/.gitignore | 1 + 4 files changed, 10 insertions(+) diff --git a/pong/.gitignore b/pong/.gitignore index a09c56d..c733645 100644 --- a/pong/.gitignore +++ b/pong/.gitignore @@ -1 +1,2 @@ /.idea +Cargo.lock diff --git a/run-server.dev.sh b/run-server.dev.sh index b11f8c7..78a37bb 100755 --- a/run-server.dev.sh +++ b/run-server.dev.sh @@ -4,6 +4,10 @@ set -e echo "Environment prepared." +echo "Hack for copying the main cargo.lock into the workspace members" +cp Cargo.toml ./pong/ +cp Cargo.toml ./server/ + echo "Copy local dependencies into components." cp -r ./pong ./client/wasm/ cp -r ./pong ./server/ diff --git a/run-server.sh b/run-server.sh index 08eeba6..61facfd 100755 --- a/run-server.sh +++ b/run-server.sh @@ -4,6 +4,10 @@ set -e echo "Environment prepared." +echo "Hack for copying the main cargo.lock into the workspace members" +cp Cargo.toml ./pong/ +cp Cargo.toml ./server/ + echo "Copy local dependencies into components." cp -r ./pong ./client/wasm/ cp -r ./pong ./server/ diff --git a/server/.gitignore b/server/.gitignore index 8e55469..8b83cb0 100644 --- a/server/.gitignore +++ b/server/.gitignore @@ -1 +1,2 @@ pong +Cargo.lock