Skip to content

Commit

Permalink
Make sed command work in BSD and Linux. Don't double-test in dist-com…
Browse files Browse the repository at this point in the history
…pile (#3237)
  • Loading branch information
themadcreator committed Feb 15, 2017
1 parent 621c7ae commit 9e83977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -191,7 +191,7 @@ module.exports = function(grunt) {
grunt.registerTask("release:minor", ["bump:minor", "dist-compile", "gitcommit:version"]);
grunt.registerTask("release:major", ["bump:major", "dist-compile", "gitcommit:version"]);

grunt.registerTask("dist-compile", ["test", "exec:npm:sed-version", "uglify", "compress"]);
grunt.registerTask("dist-compile", ["exec:npm:build", "exec:npm:sed-version", "uglify", "compress"]);

grunt.registerTask("commitjs", ["dist-compile", "gitcommit:built"]);
grunt.registerTask("default", ["exec:npm:start"]);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"build:webpack": "webpack --config webpack.config.js",
"check_version": "echo ${npm_package_version} $(npm view ${npm_package_name} version) | awk '{ if ($1 == $2) { exit 1 }}'",
"dist-compile": "grunt dist-compile",
"sed-version": "sed -i '' -e \"s/exports.version = __VERSION__/exports.version = \\\"${npm_package_version}\\\"/\" build/src/core/version.js",
"sed-version": "sed -i.bak -e \"s/exports.version = __VERSION__/exports.version = \\\"${npm_package_version}\\\"/\" build/src/core/version.js",
"start": "npm-run-all -p start:update-quicktests start:watch-tsc start:watch-quicktests start:webpack-dev-server",
"start:update-quicktests": "grunt update-quicktests",
"start:watch-quicktests": "grunt watch-quicktests",
Expand Down

0 comments on commit 9e83977

Please sign in to comment.