diff --git a/Gruntfile.js b/Gruntfile.js index 594c61d..4af56a7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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'" @@ -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"); diff --git a/README.md b/README.md index 941a69d..d1357f5 100644 --- a/README.md +++ b/README.md @@ -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.