Skip to content

Commit

Permalink
Don't expect server and front subdirectories in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tyoeer committed Aug 13, 2023
1 parent 23fae1b commit 7ac0019
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Config {
name: "example",
rel_dir: ".",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/example.wasm",
source: "target/wasm32-unknown-unknown/debug/example.wasm",
dest: "target/site/pkg/example.wasm",
site: "pkg/example.wasm",
},
Expand All @@ -30,7 +30,7 @@ Config {
bin: BinPackage {
name: "example",
rel_dir: ".",
exe_file: "target/server/debug/example",
exe_file: "target/debug/example",
target: "example",
features: [
"ssr",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Config {
name: "front-package",
rel_dir: "project1/front",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/front_package.wasm",
source: "target/wasm32-unknown-unknown/debug/front_package.wasm",
dest: "target/site/project1/pkg/project1.wasm",
site: "pkg/project1.wasm",
},
Expand All @@ -28,7 +28,7 @@ Config {
bin: BinPackage {
name: "server-package",
rel_dir: "project1/server",
exe_file: "target/server/debug/server-package",
exe_file: "target/debug/server-package",
target: "server-package",
features: [],
default_features: false,
Expand Down Expand Up @@ -76,7 +76,7 @@ Config {
name: "project2",
rel_dir: "project2",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/project2.wasm",
source: "target/wasm32-unknown-unknown/debug/project2.wasm",
dest: "target/site/project2/pkg/project2.wasm",
site: "pkg/project2.wasm",
},
Expand All @@ -96,7 +96,7 @@ Config {
bin: BinPackage {
name: "project2",
rel_dir: "project2",
exe_file: "target/server/debug/project2",
exe_file: "target/debug/project2",
target: "project2",
features: [
"ssr",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Config {
name: "project2",
rel_dir: "project2",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/project2.wasm",
source: "target/wasm32-unknown-unknown/debug/project2.wasm",
dest: "target/site/project2/pkg/project2.wasm",
site: "pkg/project2.wasm",
},
Expand All @@ -30,7 +30,7 @@ Config {
bin: BinPackage {
name: "project2",
rel_dir: "project2",
exe_file: "target/server/debug/project2",
exe_file: "target/debug/project2",
target: "project2",
features: [
"ssr",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Config {
name: "front-package",
rel_dir: "project1/front",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/front_package.wasm",
source: "target/wasm32-unknown-unknown/debug/front_package.wasm",
dest: "target/site/project1/pkg/project1.wasm",
site: "pkg/project1.wasm",
},
Expand All @@ -28,7 +28,7 @@ Config {
bin: BinPackage {
name: "server-package",
rel_dir: "project1/server",
exe_file: "target/server/debug/server-package",
exe_file: "target/debug/server-package",
target: "server-package",
features: [],
default_features: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Config {
name: "project2",
rel_dir: "project2",
wasm_file: SourcedSiteFile {
source: "target/front/wasm32-unknown-unknown/debug/project2.wasm",
source: "target/wasm32-unknown-unknown/debug/project2.wasm",
dest: "target/site/project2/pkg/project2.wasm",
site: "pkg/project2.wasm",
},
Expand All @@ -30,7 +30,7 @@ Config {
bin: BinPackage {
name: "project2",
rel_dir: "project2",
exe_file: "target/server/debug/project2",
exe_file: "target/debug/project2",
target: "project2",
features: [
"ssr",
Expand Down

0 comments on commit 7ac0019

Please sign in to comment.