Monorepo for Aesthetic.Computer
aesthetic.computer
1#!/usr/bin/env fish
2# Development reload script for VSCode extension in devcontainer
3
4echo "🔨 Compiling extension..."
5npm run compile
6
7if test $status -ne 0
8 echo "❌ Compilation failed!"
9 exit 1
10end
11
12echo "📦 Packaging extension..."
13npx vsce package
14
15if test $status -ne 0
16 echo "❌ Packaging failed!"
17 exit 1
18end
19
20echo "🔄 Installing extension..."
21/vscode/vscode-server/bin/linux-x64/*/bin/remote-cli/code --install-extension (ls -t aesthetic-computer-code-*.vsix | head -n1)
22
23if test $status -ne 0
24 echo "❌ Installation failed!"
25 exit 1
26end
27
28echo "✅ Extension updated! Now reload the VSCode window:"
29echo " Press: Cmd/Ctrl + Shift + P → 'Developer: Reload Window'"