-
Notifications
You must be signed in to change notification settings - Fork 4k
Scripts for setup dev environment for clu cmdlet work #1465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -9,9 +9,6 @@ if (!($workspaceDirectory)) | |||
$env:WORKSPACE = $workspaceDirectory | |||
} | |||
|
|||
$buildProfileScriptPath = "`"$thisScriptDirectory\BuildProfile.ps1`"" # Guard against spaces in the path | |||
$sourcesRoot = "$workspaceDirectory\src\clu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i move this after the folder creating script lines, because buildprofile.ps1 appears want to ensure the folder existence.
@johanste the clu changes here look fine to me, but can you review? @yugangw-msft We should work together with Johan to add in a runtime parameter to the build scripts, so we can build out osx and Ubuntu cmdlet packages as well. |
%root%\drop\clurun\win7-x64\clurun.exe --install Microsoft.Azure.Commands.Profile | ||
%root%\drop\clurun\win7-x64\clurun.exe --install Microsoft.Azure.Commands.Resources | ||
%root%\drop\clurun\win7-x64\clurun.exe --install Microsoft.Azure.Commands.Websites | ||
%root%\drop\clurun\win7-x64\clurun.exe --install Microsoft.Azure.Commands.Management.Storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also add Microsoft.Azure.Commands.Resources.Cmdlets . I'm finalizing a PR to produce that package as well.
@johanste @markcowl I pushed a new commit with the script which prepares osx and linux bits. The 2 folders can xcopy to linux/osx box and execute there, which i have verified in ubuntu 14.04 Once nuget client fixes the bug, the script can avoid propagating 'pkgs' folder; rather should use "clurun --install" to get all set up |
reviewed by hovsep |
Scripts for setup dev environment for clu cmdlet work
a. Build source projects
b. Build clu cmdlet packages and deploy to local command repo
c. Update and deploy msclu.cfg
d. Install all cmdlet packages
e. Add "\drop\clurun\win7-x64" to %path%, so you can run clu commands.
f. Turn on "DebugCLU", so you can attach debuggers
g. It warns if dotnet.exe is not under PATH
For example: BuildCmdlet.bat Microsoft.Azure.Commands.Profile
EDIT: push the new commits which prepare osx & linux bits to xcopy over and execute