1
0
forked from PGL/Clyde

base of backend

Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Reviewed-on: PGL/Clyde#29
Co-authored-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
Co-committed-by: Anthony Debucquoy <debucquoy.anthony@gmail.com>
This commit is contained in:
2024-02-23 12:00:36 +01:00
committed by Debucquoy Anthony
parent b9fec5e7b4
commit fb6527afd5
18 changed files with 610 additions and 0 deletions

25
frontend/build.gradle.kts Normal file
View File

@ -0,0 +1,25 @@
import com.github.gradle.node.npm.task.NpmTask
plugins {
id("com.github.node-gradle.node") version "7.0.2"
}
tasks.register<NpmTask>("build") {
dependsOn(tasks.npmInstall)
args.set(listOf("run", "build"))
}
var dev = tasks.register<NpmTask>("dev") {
dependsOn(tasks.npmInstall)
args.set(listOf("run", "dev"))
}
tasks.register<NpmTask>("run") {
dependsOn(dev)
}
tasks.register<NpmTask>("test") {
dependsOn(tasks.npmInstall)
args.set(listOf("run", "test:unit"))
}