File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ module.exports = function (grunt) {
96
96
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"
97
97
} ,
98
98
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'"
100
100
} ,
101
101
runAcceptanceTests : {
102
102
command : "vagrant ssh -c 'DISPLAY=:0 node /home/vagrant/sync/tests/AcceptanceTests.js'"
@@ -184,10 +184,10 @@ module.exports = function (grunt) {
184
184
grunt . task . run ( "shell:runUnitTests" ) ;
185
185
grunt . task . run ( "shell:runAcceptanceTests" ) ;
186
186
} ) ;
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 ( ) {
188
188
grunt . task . run ( "shell:buildRpmDocker" ) ;
189
189
} ) ;
190
- grunt . registerTask ( "buildrpm " , "Build GPII Linux and RPM package" , function ( ) {
190
+ grunt . registerTask ( "build-rpm " , "Build GPII Linux and RPM package" , function ( ) {
191
191
grunt . task . run ( "shell:prepareRpmEnv" ) ;
192
192
grunt . task . run ( "build" ) ;
193
193
grunt . task . run ( "easy_rpm" ) ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ to polute your environment.
56
56
57
57
To build a RPM package run the following command at the root of the git repository:
58
58
59
- grunt buildRpmDocker
59
+ grunt build-rpm-docker
60
60
61
61
you will get the rpm package and the source files of the package in the `` bin ``
62
62
directory.
You can’t perform that action at this time.
0 commit comments