Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
minogian committed Sep 28, 2016
1 parent 8af264b commit 2fa872a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Make sure MSBuild and the WiX folder are in the path.
### Staging
- Build GPII/windows (including the listeners - see https://github.com/GPII/windows/blob/master/provisioning/build.bat)
- Edit [`setup/staging.rcj`](https://github.com/GPII/gpii-wix-installer/blob/master/setup/staging.rcj) and replace `C:\projects\gpii\windows\` with the path of your local GPII/windows repository
- Edit [`setup/build.cmd`](https://github.com/GPII/gpii-wix-installer/blob/master/setup/build.cmd) and uncomment lines 4-5 and 8-9.
- Edit [`setup/build.cmd`](https://github.com/GPII/gpii-wix-installer/blob/master/setup/build.cmd) and uncomment lines 4-5.
- Run [`setup/build.cmd`](https://github.com/GPII/gpii-wix-installer/blob/master/setup/build.cmd)

Staging makes a private copy of the GPII/windows repository inside the `staging` folder and uses that for building the installer. Any files not needed (eg Git and Vagrant related folders) are excluded.
Expand Down
7 changes: 3 additions & 4 deletions setup/build.cmd
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
rem Staging
rem Edit staging.rcj and then uncomment the following lines as needed


rem Edit staging.rcj and then uncomment the following lines as needed
rem rmdir /s /q ..\staging\windows
rem robocopy /job:staging.rcj

pushd ..\staging\windows
rem call npm prune --production
rem call npm dedupe
call npm prune --production
popd

pushd ..\
Expand Down

0 comments on commit 2fa872a

Please sign in to comment.