diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-01-20 22:35:49 +0100 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-01-20 22:35:49 +0100 |
commit | c719f2a7969316728d6aefd8afa81065903af7da (patch) | |
tree | e24ab63028fc6eb1f3a5fd403adc1e9b4005ee59 /frontend | |
parent | Add Procfile to tell Heroku that the Jar to run is in the backend folder (diff) | |
download | seven-wonders-c719f2a7969316728d6aefd8afa81065903af7da.tar.gz seven-wonders-c719f2a7969316728d6aefd8afa81065903af7da.tar.bz2 seven-wonders-c719f2a7969316728d6aefd8afa81065903af7da.zip |
Remove NPM setup from build
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/build.gradle | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/frontend/build.gradle b/frontend/build.gradle index 2b8eabfd..42e646a3 100644 --- a/frontend/build.gradle +++ b/frontend/build.gradle @@ -3,10 +3,12 @@ plugins { } apply plugin: 'base' +apply plugin: 'idea' + +buildDir = 'build' node { version = '6.9.4' - npmVersion = '4.1.1' yarnVersion = '0.19.1' download = true } @@ -14,15 +16,15 @@ node { task bundle(type: YarnTask) { inputs.dir(new File('public')) inputs.dir(new File('src')) - outputs.dir(new File('build')) + outputs.dir(new File("$buildDir")) args = ['run', 'build'] } -task start(type: NpmTask) { +task start(type: YarnTask) { args = ['start'] } -task test(type: NpmTask) { +task test(type: YarnTask) { args = ['test'] } |