Skip to content

Commit

Permalink
chore: npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlee38 committed Sep 23, 2024
1 parent f15399d commit bbe20f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gitnote-jetbrains/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "io.cjlee"
version = "0.2.8"
version = "0.2.9"

repositories {
mavenCentral()
Expand Down Expand Up @@ -100,6 +100,12 @@ tasks {
commandLine("sh", "copy.sh")
}

register<NpxTask>("npmInstall") {
workingDir = file("../gitnote-gui")
command.set("npm")
args.set(listOf("install"))
}

register<NpxTask>("buildGui") {
dependsOn("npmInstall") // Ensure npm is installed
workingDir = file("../gitnote-gui") // Set the working directory to your React project
Expand Down

0 comments on commit bbe20f5

Please sign in to comment.