Skip to content

Commit

Permalink
even simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
olayway committed Feb 6, 2023
1 parent a1c349a commit efed6dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions packages/template-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"inputs": ["default", "{workspaceRoot}/packages/template/**/*"],
"options": {
"commands": [
"../template-e2e/src/support/testsetup.sh",
"playwright test --config ../template-e2e",
"../template-e2e/src/support/testteardown.sh"
"./src/support/testsetup.sh",
"playwright test",
"./src/support/testteardown.sh"
],
"parallel": false,
"cwd": "packages/template"
"cwd": "packages/template-e2e"
},
"dependsOn": ["^build"]
},
Expand Down
6 changes: 3 additions & 3 deletions packages/template-e2e/src/support/testsetup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

ln -vfns ../template-e2e/src/fixtures/content content
ln -vfns ../../template-e2e/src/fixtures/content/assets public/assets
ln -vfns ../../template-e2e/src/fixtures/components components/custom
ln -vfns ../template-e2e/src/fixtures/content ../template/content
ln -vfns ../../template-e2e/src/fixtures/content/assets ../template/public/assets
ln -vfns ../../template-e2e/src/fixtures/components ../template/components/custom
6 changes: 3 additions & 3 deletions packages/template-e2e/src/support/testteardown.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

ln -vfns ../../site/content content
ln -vfns ../../../site/content/assets public/assets
ln -vfns ../../../site/components components/custom
ln -vfns ../../site/content ../template/content
ln -vfns ../../../site/content/assets ../template/public/assets
ln -vfns ../../../site/components ../template/components/custom

0 comments on commit efed6dc

Please sign in to comment.