Skip to content

Commit

Permalink
Changed the name of Grunt tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
amatas committed Sep 26, 2016
1 parent 9f8aba1 commit e5ada9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = function (grunt) {
command: "dnf install -y nodejs-grunt-cli npm alsa-lib-devel json-glib-devel PackageKit-glib-devel libXrandr-devel libgnome-keyring-devel sudo @development-tools rpmdevtools"
},
buildRpmDocker: {
command: "docker run --rm -i -v $(pwd):/sync fedora /bin/bash -c 'dnf install -y nodejs-grunt-cli; cp -r /sync /packages; cd /packages; grunt buildrpm; cp -r /packages/bin /sync'"
command: "docker run --rm -i -v $(pwd):/sync fedora /bin/bash -c 'dnf install -y nodejs-grunt-cli; cp -r /sync /packages; cd /packages; grunt build-rpm; cp -r /packages/bin /sync'"
},
runAcceptanceTests: {
command: "vagrant ssh -c 'DISPLAY=:0 node /home/vagrant/sync/tests/AcceptanceTests.js'"
Expand Down Expand Up @@ -184,10 +184,10 @@ module.exports = function (grunt) {
grunt.task.run("shell:runUnitTests");
grunt.task.run("shell:runAcceptanceTests");
});
grunt.registerTask("buildRpmDocker", "Build Linux RPM package using a Docker container", function () {
grunt.registerTask("build-rpm-docker", "Build Linux RPM package using a Docker container", function () {
grunt.task.run("shell:buildRpmDocker");
});
grunt.registerTask("buildrpm", "Build GPII Linux and RPM package", function () {
grunt.registerTask("build-rpm", "Build GPII Linux and RPM package", function () {
grunt.task.run("shell:prepareRpmEnv");
grunt.task.run("build");
grunt.task.run("easy_rpm");
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ to polute your environment.

To build a RPM package run the following command at the root of the git repository:

grunt buildRpmDocker
grunt build-rpm-docker

you will get the rpm package and the source files of the package in the ``bin``
directory.
Expand Down

0 comments on commit e5ada9b

Please sign in to comment.