Skip to content

Commit

Permalink
add paths to bower and grunt binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
paulherbosch committed Jul 7, 2022
1 parent ab897f7 commit 894a818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/uitpas-balie-frontend/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ namespace 'uitpas-balie-frontend' do
system('npm install') or exit 1

puts "=== DEBUG: start bower install ==="
system('bower install') or exit 1
system('node_modules/bower/bin/bower install') or exit 1

puts "=== DEBUG: start angular_config ==="
system('angular_config hash -c config.dist.json > config.json')
config = JSON.load File.new('config.json')
File.open('config.json', 'w') { |file| file.write(config.merge!(configuration_hash).to_json) }

puts "=== DEBUG: start grunt build ==="
system('grunt build') or exit 1
system('node_modules/grunt-cli/bin/grunt build') or exit 1
end
end

0 comments on commit 894a818

Please sign in to comment.