Skip to content

Commit acaa908

Browse files
committed
Fixed #19 and updated npm packages
1 parent 6e548ef commit acaa908

File tree

2 files changed

+310
-301
lines changed

2 files changed

+310
-301
lines changed

build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,14 @@ task copyKotlinLib(type: Copy) {
8484
into "$projectDir/lib-kotlin"
8585
}
8686

87+
task fixFilePermissions(type: Exec) {
88+
if (!System.getProperty("os.name").toLowerCase().contains("windows")) {
89+
// When running on macOS or Linux the start script
90+
// needs executable permissions to run.
91+
commandLine 'chmod', '+x', 'build/install/kotlin-language-server/bin/kotlin-language-server'
92+
}
93+
}
94+
8795
compileKotlin.dependsOn copyKotlinLib
88-
build.finalizedBy(installDist)
96+
installDist.finalizedBy fixFilePermissions
97+
build.finalizedBy installDist

0 commit comments

Comments
 (0)