File tree 6 files changed +15
-10
lines changed
6 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ jobs:
11
11
upload_url : ${{ steps.create_release.outputs.upload_url }}
12
12
steps :
13
13
- name : Get tag
14
- run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
14
+ id : tag
15
+ run : echo "::set-output name=version::${GITHUB_REF/refs\/tags\//}"
15
16
- name : Create Release
16
17
id : create_release
17
18
uses : actions/create-release@v1
18
19
env :
19
20
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
21
with :
21
- tag_name : $VERSION
22
- release_name : Release $VERSION
22
+ tag_name : ${{ steps.tag.outputs.version }}
23
+ release_name : Release ${{ steps.tag.outputs.version }}
23
24
draft : false
24
25
prerelease : false
25
26
release-server :
46
47
env :
47
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
49
with :
49
- upload_url : ${{ steps.create_release .outputs.upload_url }}
50
+ upload_url : ${{ needs.empty-release .outputs.upload_url }}
50
51
asset_path : target/release/mcshader-lsp
51
52
asset_name : mcshader-lsp-${{ matrix.platforms.target }}
52
53
asset_content_type : application/octet-stream
56
57
steps :
57
58
- uses : actions/checkout@v2
58
59
- run : npm i
59
- - run : npm i -g rollup
60
60
- uses : HaaLeo/publish-vscode-extension@v0
61
61
id : vsce_release
62
62
with :
Original file line number Diff line number Diff line change 7
7
"request" : " launch" ,
8
8
"name" : " Launch Client" ,
9
9
"runtimeExecutable" : " ${execPath}" ,
10
+ "env" : {
11
+ "MCSHADER_DEBUG" : " true"
12
+ },
10
13
"args" : [" --extensionDevelopmentPath=${workspaceRoot}" ],
11
14
"outFiles" : [" ${workspaceRoot}/client/out/**/*.js" ],
12
15
"preLaunchTask" : {
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ Please see [CONTRIBUTING.md](https://github.com/Strum355/mcshader-lsp/blob/maste
43
43
- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
44
44
- Warnings for unused uniforms/varyings
45
45
- Lint for all #define value combinations
46
+ - Compute shader support
46
47
- Some cool ` DRAWBUFFERS ` stuff
47
48
48
49
Got a feature request? Chuck it into an Issue!
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vscode-mc-shader-client" ,
3
3
"scripts" : {
4
- "compile" : " tsc -p ./"
4
+ "compile" : " tsc -p ./" ,
5
+ "rollup" : " rollup -c"
5
6
},
6
7
"dependencies" : {
7
8
"adm-zip" : " ^0.4.14" ,
Original file line number Diff line number Diff line change 2
2
"name" : " vscode-mc-shader" ,
3
3
"displayName" : " Minecraft GLSL Shaders" ,
4
4
"description" : " A Visual Studio Code extension for linting/etc Minecraft GLSL Shaders" ,
5
- "version" : " 1.0.0-unreleased " ,
5
+ "version" : " 0.9.0 " ,
6
6
"publisher" : " Strum355" ,
7
7
"author" : " Noah Santschi-Cooney (Strum355)" ,
8
8
"license" : " MIT" ,
65
65
}
66
66
},
67
67
"scripts" : {
68
- "vscode:prepublish" : " npm run compile && cd client && rollup -c " ,
68
+ "vscode:prepublish" : " npm run compile && cd client && npm run rollup " ,
69
69
"compile" : " tsc -b" ,
70
70
"package" : " vsce package -o vscode-mc-shader.vsix" ,
71
- "watch" : " concurrently \" tsc -b -w\" \" cd server && MCSHADER_DEBUG=true cargo watch -x build\" " ,
71
+ "watch" : " concurrently \" tsc -b -w\" \" cd server && cargo watch -x build\" " ,
72
72
"postinstall" : " cd client && npm install" ,
73
73
"lint" : " eslint 'client/**/*.ts' --max-warnings 1" ,
74
74
"fix" : " eslint 'client/**/*.ts' --fix"
You can’t perform that action at this time.
0 commit comments