Skip to content

Instantly share code, notes, and snippets.

@am11
Created February 28, 2015 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save am11/0c8c1306cf311315bf07 to your computer and use it in GitHub Desktop.
Save am11/0c8c1306cf311315bf07 to your computer and use it in GitHub Desktop.
CL.EXE Self-Update (Proposal)

CL.EXE Self Update (Proposal)

  • To update the core compiler services as well as the front-end compiler services (intellisense, syntax checker etc.) all to latest stable:

    cl.exe --update
  • To update the core compiler services only:

    cl.exe --update --no-dependencies
  • To update the core compiler services only to a specific version:

    cl.exe --update <semantic-version-number> --no-dependencies

    The <semantic-version-number> can be an up-version or down-version to provision upgrading and downgrading.

    I propose semantic versioning (http://semver.org/) for that matter.

  • The update should be rollback-able (if the update process is interrupted for any reason).

  • Once updated the PATH should immediately take the newer version into effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment