From 0c7e16a7c4067df06c59549a1e9e7bc87da47312 Mon Sep 17 00:00:00 2001 From: ibro Date: Mon, 12 Aug 2024 15:22:54 +0100 Subject: [PATCH] rm soft link switching to a bind mount bc vitest and git both get confused by directories mv mount script rm linked files --- .gitignore | 1 + .scripts/mount.sh | 5 +++++ workbench/mount.sh | 3 --- workbench/src/fractl | 1 - 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100755 .scripts/mount.sh delete mode 100755 workbench/mount.sh delete mode 120000 workbench/src/fractl diff --git a/.gitignore b/.gitignore index c0820e2..0e9cbc5 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ dist-ssr *.sln *.sw? .vercel +workbench/src/fractl diff --git a/.scripts/mount.sh b/.scripts/mount.sh new file mode 100755 index 0000000..8825080 --- /dev/null +++ b/.scripts/mount.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh +echo "mount ./packages/ui/src to ./workbench/src/fractl" +echo "$(pwd) should be the root of the repo" + +sudo mount --bind ./packages/ui/src ./workbench/src/fractl diff --git a/workbench/mount.sh b/workbench/mount.sh deleted file mode 100755 index 12a08e2..0000000 --- a/workbench/mount.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -ln -s "$PWD/packages/ui/src" "$PWD/workbench/src/fractl" diff --git a/workbench/src/fractl b/workbench/src/fractl deleted file mode 120000 index f766801..0000000 --- a/workbench/src/fractl +++ /dev/null @@ -1 +0,0 @@ -/home/ibro/Projects/fractl/packages/ui/src \ No newline at end of file