summaryrefslogtreecommitdiff
path: root/scripts/build.sh
blob: f6619483b856e2e717166def159929b94bf51f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

# Check JAVA_HOME points to correct java version
./scripts/check_java_home.sh

# Needed once
npm install

# Build fat jar
./scripts/link_mac.sh
./scripts/link_windows.sh

# Build vsix
vsce package -o build.vsix

code --install-extension build.vsix

echo 'Reload VSCode to update extension'