4 Commits

Author SHA1 Message Date
86b8d83643 fix license
All checks were successful
Release / Build & publish (push) Successful in 33s
2026-04-07 09:57:55 +03:00
8aea2806e0 fix license
Some checks failed
Release / Build & publish (push) Failing after 21s
2026-04-07 09:56:30 +03:00
edfdc40aea fix repo miss vsix
All checks were successful
Release / Build & publish (push) Successful in 1m35s
2026-04-07 09:54:00 +03:00
e4ab003a9d add mac, fix vsix release
All checks were successful
Release / Build & publish (push) Successful in 37s
2026-04-07 09:51:53 +03:00
3 changed files with 25 additions and 4 deletions

View File

@@ -29,20 +29,19 @@ jobs:
mkdir -p dist
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o "dist/judge-linux-amd64" ./cmd/cli
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o "dist/judge-windows-amd64.exe" ./cmd/cli
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o "dist/judge-darwin-arm64" ./cmd/cli
- name: Build VS Code extension
shell: bash
run: |
npm install -g @vscode/vsce
cd editor/vscode-jdg
vsce package -o "../../dist/jdg-language-${{ github.ref_name }}.vsix"
vsce package --allow-missing-repository -o "../../dist/jdg-language.vsix"
- name: Create release
uses: https://gitea.com/actions/gitea-release-action@main
with:
files: |-
dist/judge-linux-amd64
dist/judge-windows-amd64.exe
dist/jdg-language-${{ github.ref_name }}.vsix
dist/*
api_key: ${{ secrets.RELEASE_TOKEN }}
title: ${{ github.ref_name }}

21
editor/vscode-jdg/LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Mikhail Kornilovich
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -4,6 +4,7 @@
"description": "Syntax highlighting for judge test-suite files",
"version": "0.1.0",
"publisher": "judge",
"repository": {"type": "git", "url": "https://gitea.mkorn.me/admin/judge"},
"engines": { "vscode": "^1.60.0" },
"categories": ["Programming Languages"],
"contributes": {