progress dev
This commit is contained in:
parent
895ee63587
commit
02cefc7e08
@ -29,6 +29,11 @@ dependencies {
|
|||||||
testImplementation("org.testcontainers:postgresql")
|
testImplementation("org.testcontainers:postgresql")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register("run") {
|
||||||
|
dependsOn(tasks.bootRun)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
tasks.withType<Test> {
|
tasks.withType<Test> {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
25
frontend/build.gradle.kts
Normal file
25
frontend/build.gradle.kts
Normal 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"))
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user