Skip to content

Commit

Permalink
updates picture and publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
eyck committed Feb 5, 2024
1 parent 31babae commit b6f032b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ configure(subprojects.findAll { it.name.startsWith('vscode') }) {
download = true
}

version = '2.0.12'

def inputFiles = fileTree(
dir: projectDir,
excludes: [ 'out/**', '.gitignore', '.gradle/**', 'build/**', '*.gradle' ]
Expand All @@ -83,7 +85,7 @@ configure(subprojects.findAll { it.name.startsWith('vscode') }) {

task vscodeExtension(dependsOn: [npmInstall, npmInstallVsce], type: NodeTask) {
ext.destDir = new File(buildDir, 'vscode')
ext.archiveName = "$project.name-${project.version}.vsix"
ext.archiveName = "coredsl-vscode-${project.version}.vsix"
ext.destPath = "$destDir/$archiveName"
inputs.with {
files inputFiles
Expand Down
4 changes: 3 additions & 1 deletion vscode-extension-self-contained/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
project.version="2.0.12"

task copyApplication(type: Sync) {
def installDistTask = project(':com.minres.coredsl.ide').tasks.installDist
dependsOn installDistTask
Expand Down Expand Up @@ -33,7 +35,7 @@ task startCode(type:Exec, dependsOn: installExtension) {

task publish(dependsOn: vscodeExtension, type: NodeTask) {
script = file("$rootProject.projectDir/node_modules/vsce/out/vsce")
args = [ 'publish', '-p', System.getenv('ACCESS_TOKEN'), "--packagePath", "${project.buildDir}/vscode/vscode-extension-self-contained-${project.version}.vsix"]
args = [ 'publish', '-p', System.getenv('ACCESS_TOKEN'), "--packagePath", "${project.buildDir}/coredsl-vscode-${project.version}.vsix"]
execOverrides {
workingDir = projectDir
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed vscode-extension-self-contained/images/xtext.png
Binary file not shown.
4 changes: 2 additions & 2 deletions vscode-extension-self-contained/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"displayName": "CoreDSL",
"description": "A CoreDSL plugin for VS Code",
"version": "0.0.1",
"publisher": "minres",
"icon": "images/xtext.png",
"publisher": "MINRES",
"icon": "images/Minres_logo_square.png",
"license": "EPL-1.0",
"repository": {
"type": "git",
Expand Down
5 changes: 4 additions & 1 deletion vscode-extension/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
*.jar
*.vsix
.vscode
.vscode
/node_modules/
/.gradle/
/build/

0 comments on commit b6f032b

Please sign in to comment.