-
-
Save vonwenm/5234f554710a7ed8d41a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
SET DIR=%~dp0% | |
@PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "& '%DIR%setup.ps1' %*" | |
pause |
This file contains hidden or 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
### install chocolatey ### | |
iex ((new-object net.webclient).DownloadString("http://chocolatey.org/install.ps1")) | |
# install nuget and ruby if they are missing | |
cinstm nuget.commandline | |
cinstm ruby | |
#perform ruby updates and get gems | |
gem update --system | |
gem install rake | |
gem install bundler | |
#restore the nuget packages | |
$nugetConfigs = Get-ChildItem '.\' -Recurse | ?{$_.name -match "packages\.config"} | select | |
foreach ($nugetConfig in $nugetConfigs) { | |
Write-Host "restoring packages from $($nugetConfig.FullName)" | |
nuget install $($nugetConfig.FullName) /OutputDirectory packages | |
} | |
rake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment