From 86de9aa199edeab607be36b171ef10a1295bb4d1 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Wed, 28 Jan 2026 23:21:15 -0500 Subject: [PATCH 1/2] using relative paths for submodules --- .gitmodules | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitmodules b/.gitmodules index d72558a..c91c8af 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,21 +1,21 @@ [submodule "pywire"] path = pywire - url = https://github.com/pywire/pywire.git + url = ../pywire.git [submodule "pywire-language-server"] path = pywire-language-server - url = https://github.com/pywire/pywire-language-server.git + url = ../pywire-language-server.git [submodule "pywire.dev"] path = pywire.dev - url = https://github.com/pywire/pywire.dev.git + url = ../pywire.dev.git [submodule "vscode-pywire"] path = vscode-pywire - url = https://github.com/pywire/vscode-pywire.git + url = ../vscode-pywire.git [submodule "tree-sitter-pywire"] path = tree-sitter-pywire - url = https://github.com/pywire/tree-sitter-pywire.git + url = ../tree-sitter-pywire.git [submodule "examples"] path = examples - url = https://github.com/pywire/examples.git + url = ../examples.git [submodule ".github"] path = .github - url = https://github.com/pywire/.github.git + url = ../.github.git From ffca4736187184355488eb92ad8e22cb1c28cc64 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Wed, 28 Jan 2026 23:21:31 -0500 Subject: [PATCH 2/2] ensuring dependencies are isntalled --- scripts/install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/scripts/install b/scripts/install index e18b953..072820c 100755 --- a/scripts/install +++ b/scripts/install @@ -1,6 +1,26 @@ #!/bin/sh -e +echo "--- Checking For Dependencies ---" + +if ! command -v pnpm &> /dev/null; then + echo "pnpm not found. Installing..." + # The official pnpm install script + curl -fsSL https://get.pnpm.io/install.sh | sh - + case "$OSTYPE" in + darwin*) export PNPM_HOME="$HOME/Library/pnpm" ;; + linux*) export PNPM_HOME="$HOME/.local/share/pnpm" ;; + *) export PNPM_HOME="$HOME/.pnpm-home" ;; + esac + export PATH="$PNPM_HOME:$PATH" +fi + +if ! command -v uv &> /dev/null; then + echo "uv not found. Installing..." + curl -LsSf https://astral.sh/uv/install.sh | sh + export PATH="$HOME/.local/bin:$PATH" +fi echo "--- Syncing Workspace Environment ---" + uv sync echo "--- Installing Sub-project Dependencies ---"