Skip to content

Commit

Permalink
wip: move api-client-test out of the server package
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Sep 20, 2023
1 parent 5668f90 commit c42c333
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[workspace]
members = [
"typhon",
"typhon/api-client-test",
"typhon-types",
"typhon-webapp",
"api-client-test",
]
default-members = [
"typhon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.0.1"
edition = "2021"

[dependencies]
typhon-types = { path = "../../typhon-types" }
typhon-types = { path = "../typhon-types" }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1.22", features = [ "full" ] }
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions nix/api-client-test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
src = lib.sourceByRegex ./.. [
"Cargo.toml"
"Cargo.lock"
"typhon.*"
"api-client-test.*"
"typhon-types.*"
];

cargoToml = ../typhon/api-client-test/Cargo.toml;
cargoToml = ../api-client-test/Cargo.toml;

cargoExtraArgs = "-p typhon-api-client-test";

Expand Down
6 changes: 3 additions & 3 deletions nix/webapp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
mkdir -p typhon/src
cp ${dummyTyphonCargoToml} typhon/Cargo.toml
touch typhon/src/main.rs
mkdir -p typhon/api-client-test/src
cp ${dummyApiTestCargoToml} typhon/api-client-test/Cargo.toml
touch typhon/api-client-test/src/main.rs
mkdir -p api-client-test/src
cp ${dummyApiTestCargoToml} api-client-test/Cargo.toml
touch api-client-test/src/main.rs
ln -s ${nodeDependencies}/lib/node_modules typhon-webapp/node_modules
# See #351 on Trunk
Expand Down

0 comments on commit c42c333

Please sign in to comment.