summaryrefslogtreecommitdiff
path: root/justfile
blob: 56e90cc1b5e7cd2a9ec1970286efc5b2b33ea311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Justfile for managing build tasks

# Install dependencies
install:
    pnpm install

# Clean build artifacts and temporary files
clean:
    sudo rm -rf dist/
    sudo rm -rf out/
    sudo rm -rf node_modules/.cache/
    sudo rm -rf .rollup.cache/
    echo "Cleaned build artifacts"

# Build the plugin
build:
    .vscode/build.sh

# Build in development mode with watch
dev:
    pnpm run watch

# Clean and rebuild everything
rebuild: clean install build