Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 86b8d83643 | |||
| 8aea2806e0 | |||
| edfdc40aea | |||
| e4ab003a9d |
@@ -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
21
editor/vscode-jdg/LICENSE
Normal 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.
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user