Skip to content

Conversation

@yugangw-msft
Copy link
Contributor

  1. "SetupEnv.bat" invoke "build-local" and prepares everything to execute cmdlets. Takes about 4 minutes. In detail, it includes
    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
  2. "BuildCmdlet.bat", let you build individual cmdlet. Take about 20 seconds.
    For example: BuildCmdlet.bat Microsoft.Azure.Commands.Profile

EDIT: push the new commits which prepare osx & linux bits to xcopy over and execute

Copy link
Contributor Author

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.

@markcowl
Copy link
Member

@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.

Copy link
Contributor

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.

@yugangw-msft
Copy link
Contributor Author

@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

@yugangw-msft
Copy link
Contributor Author

reviewed by hovsep

yugangw-msft added a commit that referenced this pull request Dec 11, 2015
Scripts for setup dev environment for clu cmdlet work
@yugangw-msft yugangw-msft merged commit 82afd42 into Azure:clu Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants