Created
August 2, 2016 04:04
-
-
Save glennsarti/4d05479acd1c064bcfea8abeb638c021 to your computer and use it in GitHub Desktop.
Build DSC package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SETLOCAL | |
choco install 7zip -y | |
ECHO Cleaning... | |
RD "%~dp0pkg" /s/q | |
ECHO Building the puppet module... | |
CALL bundle exec rake build | |
ECHO Creating tarball... | |
7za a -y "%~dp0pkg\win.puppetlabs-dsc-1.0.1.tar" "%~dp0pkg\puppetlabs-dsc-1.0.1" | |
ECHO Creating GZip... | |
7za a -y "%~dp0pkg\win.puppetlabs-dsc-1.0.1.tar.gz" "%~dp0pkg\win.puppetlabs-dsc-1.0.1.tar" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment