-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.example.ps1
More file actions
25 lines (18 loc) · 892 Bytes
/
environment.example.ps1
File metadata and controls
25 lines (18 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$work = 'C:\Dev'
$services = @{Path='APMG.Services.WCF';Solution='.\APMG.Services.WCF.sln'}
$portal = 'APMG.Portal.sln'
$admin = 'APMG.Admin.sln'
function Start-Project {
Param ($hash)
Set-Location-Dev $work
cd $hash.Path
Start-VisualStudio $hash.Solution
cd $work\'LocalBuild'
}
function services { Start-Project -hash @{Path='APMG.Services';Solution='.\APMG.Services.sln'}}
function portal { Start-Project -hash @{Path='APMG.Portal';Solution='.\APMG.Portal.sln'}}
function admin { Start-Project -hash @{Path='APMG.Admin';Solution='.\APMG.Admin.sln'}}
function booking { Start-Project -hash @{Path='APMG.Services\APMG.Services.WCF.Booking';Solution='.\APMG.Services.WCF.Booking.sln'}}
function work { Set-Location-Dev $work }
function dev { Set-Location-Dev $dev }
function wcfclient { & "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\WcfTestClient.exe" }