diff --git a/org.lflang.lfc/build.gradle b/org.lflang.lfc/build.gradle index da105af074..ee64d161cb 100644 --- a/org.lflang.lfc/build.gradle +++ b/org.lflang.lfc/build.gradle @@ -52,8 +52,12 @@ task buildLfc(dependsOn: ['setupTypescriptRuntime']) { } task setupTypescriptRuntime(type: Exec) { + String npm = 'npm'; + if (Os.isFamily(Os.FAMILY_WINDOWS)) { + npm = 'npm.cmd' + } workingDir '../org.lflang/src/lib/ts/reactor-ts' - commandLine 'npm', 'install' + commandLine npm, 'install' outputs.dir('../org.lflang/src/lib/ts/reactor-ts/lib') inputs.dir('../org.lflang/src/lib/ts/reactor-ts') } diff --git a/org.lflang/src/lib/ts/reactor-ts b/org.lflang/src/lib/ts/reactor-ts index cbd9961884..da33b3a8e3 160000 --- a/org.lflang/src/lib/ts/reactor-ts +++ b/org.lflang/src/lib/ts/reactor-ts @@ -1 +1 @@ -Subproject commit cbd9961884d075be18cbcf55062cf185277bea63 +Subproject commit da33b3a8e3e442e12373bb9ca85700f346b8675d