Skip to content

Commit

Permalink
Removing bower from build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Bona committed Aug 28, 2018
1 parent 14fecaf commit 632a9f6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions gradle/scripts/ember.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,17 @@ node {
nodeModulesDir = file("${project.projectDir}")
}

task bowerInstall(type: NodeTask, dependsOn: yarn) {
script = file('node_modules/bower/lib/bin/bower.js')
args = ['install']
}

task emberServe(type: NodeTask, dependsOn: bowerInstall) {
task emberServe(type: NodeTask, dependsOn: yarn) {
script = file('node_modules/.bin/ember')
args = ['serve']
}

task emberBuild(type: NodeTask, dependsOn: bowerInstall) {
task emberBuild(type: NodeTask, dependsOn: yarn) {
script = file('node_modules/.bin/ember')
args = ['build', '--environment', 'production']
}

task emberTest(type: NodeTask, dependsOn: bowerInstall) {
task emberTest(type: NodeTask, dependsOn: yarn) {
environment = ['COVERAGE': 'true']
script = file('node_modules/.bin/ember')
args = ['test', '--launch', 'Chrome']
Expand Down

0 comments on commit 632a9f6

Please sign in to comment.