Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/publish-vscode-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Publish VS Code Extension

on:
push:
branches:
- master
paths:
- 'vscode-pace/**'
- '.github/workflows/publish-vscode-extension.yml'

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
working-directory: ./vscode-pace
run: npm install

- name: Compile extension
working-directory: ./vscode-pace
run: npm run compile

- name: Publish to VS Code Marketplace
working-directory: ./vscode-pace
run: |
npm install -g @vscode/vsce
vsce publish -p $VSCE_PAT
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
4 changes: 3 additions & 1 deletion vscode-pace/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
node_modules/
out/
.vsix
16 changes: 16 additions & 0 deletions vscode-pace/config.pace
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
task "compile" {
command "npm run compile"
description "Compile the VSCode Pace extension"

inputs ["package.json", "tsconfig.json", "src/*.ts"]
outputs ["out/*.js"]
cache true
}

task "package" {
command "vsce package"
description "Package the VSCode Pace extension into a .vsix file"
dependencies ["compile"]

cache false
}
139 changes: 0 additions & 139 deletions vscode-pace/out/completionProvider.js

This file was deleted.

1 change: 0 additions & 1 deletion vscode-pace/out/completionProvider.js.map

This file was deleted.

47 changes: 0 additions & 47 deletions vscode-pace/out/extension.js

This file was deleted.

1 change: 0 additions & 1 deletion vscode-pace/out/extension.js.map

This file was deleted.

Binary file removed vscode-pace/pace-language-0.1.0.vsix
Binary file not shown.
Binary file modified vscode-pace/pace-language-0.2.0.vsix
Binary file not shown.
5 changes: 1 addition & 4 deletions vscode-pace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
"displayName": "Pace Language Support",
"description": "Syntax highlighting and autocomplete for Pace configuration files",
"version": "0.2.0",
"publisher": "pace",
"publisher": "PaceLanguageSupport",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:pace"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
Expand Down
Loading