File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" ) ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ to polute your environment.
5656
5757To 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
6161you will get the rpm package and the source files of the package in the `` bin ``
6262directory.
You can’t perform that action at this time.
0 commit comments