Skip to content

Commit e5ada9b

Browse files
committed
Changed the name of Grunt tasks
1 parent 9f8aba1 commit e5ada9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module.exports = function (grunt) {
9696
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"
9797
},
9898
buildRpmDocker: {
99-
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'"
99+
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'"
100100
},
101101
runAcceptanceTests: {
102102
command: "vagrant ssh -c 'DISPLAY=:0 node /home/vagrant/sync/tests/AcceptanceTests.js'"
@@ -184,10 +184,10 @@ module.exports = function (grunt) {
184184
grunt.task.run("shell:runUnitTests");
185185
grunt.task.run("shell:runAcceptanceTests");
186186
});
187-
grunt.registerTask("buildRpmDocker", "Build Linux RPM package using a Docker container", function () {
187+
grunt.registerTask("build-rpm-docker", "Build Linux RPM package using a Docker container", function () {
188188
grunt.task.run("shell:buildRpmDocker");
189189
});
190-
grunt.registerTask("buildrpm", "Build GPII Linux and RPM package", function () {
190+
grunt.registerTask("build-rpm", "Build GPII Linux and RPM package", function () {
191191
grunt.task.run("shell:prepareRpmEnv");
192192
grunt.task.run("build");
193193
grunt.task.run("easy_rpm");

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ to polute your environment.
5656

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

59-
grunt buildRpmDocker
59+
grunt build-rpm-docker
6060

6161
you will get the rpm package and the source files of the package in the ``bin``
6262
directory.

0 commit comments

Comments
 (0)