[READ-ONLY] Mirror of https://github.com/andrioid/gastro. Server Side templates, combining Go (frontmatter) and html/template (body) with full LSP support gastro.andri.dk
golang lsp-server template-engine
0

Configure Feed

Select the types of activity you want to include in your feed.

gastro / scripts / install / vscode
976 B 33 lines
1#!/usr/bin/env bash 2#MISE description="Build and install the VS Code extension locally from source" 3#MISE depends=["install:gastro", "build:vscode-deps"] 4#MISE dir="editors/vscode" 5 6set -euo pipefail 7 8# Bundle the extension 9npm run build 10 11# Package as VSIX with a dev version derived from git SHA. 12# --no-update-package-json keeps package.json untouched for release-please. 13DEV_VERSION="0.0.0-dev.$(git rev-parse --short HEAD)" 14 15mkdir -p dist 16npx @vscode/vsce package \ 17 --no-dependencies \ 18 --no-git-tag-version \ 19 --no-update-package-json \ 20 --out dist/ \ 21 "$DEV_VERSION" 22 23# Find the generated VSIX file 24VSIX_FILE=$(ls -t dist/*.vsix 2>/dev/null | head -1) 25if [ -z "$VSIX_FILE" ]; then 26 echo "Error: no .vsix file found in dist/" 27 exit 1 28fi 29 30# Install into VS Code (--force replaces marketplace or previous dev version) 31code --install-extension "$VSIX_FILE" --force 32 33echo "Installed ${VSIX_FILE} (${DEV_VERSION}) into VS Code. Reload your window to pick up changes."