aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-07-03 00:59:15 -0700
committerAllan Wang <me@allanwang.ca>2019-07-03 01:03:52 -0700
commit98053b6d3d84c44ee06b3b77cabd54fb3b9002c0 (patch)
tree6be78ff78c54b446b338c7cd1b5a0806eff34e10 /app/build.gradle
parentc1efcbf653927ee5b5a90ac773210826cd4ed4c1 (diff)
downloadfrost-98053b6d3d84c44ee06b3b77cabd54fb3b9002c0.tar.gz
frost-98053b6d3d84c44ee06b3b77cabd54fb3b9002c0.tar.bz2
frost-98053b6d3d84c44ee06b3b77cabd54fb3b9002c0.zip
Use npm ci
Declare tsc path explicitly Use tsc inline Revert explicit path
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 6683a85f..b21162f9 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -186,8 +186,13 @@ node {
nodeModulesDir = file("${project.projectDir}/src/web")
}
+task npmCi(type: NpmTask) {
+ dependsOn npmSetup
+ npmCommand = ["ci"]
+}
+
task frostWebGen(type: NpmTask) {
- dependsOn npmInstall
+ dependsOn npmCi
group 'build'
description 'Generate Frost web assets'
args = ['run', 'compile']