Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Billy O'Neal 04ef202b2c
Replace aka.ms with direct links. (#1071)
* Replace aka.ms with direct links.

* format
2023-05-18 11:01:04 -07:00
Billy O'Neal 123d66de41
Add x-update-registry command. (#1053)
* Add x-update-registry command.

Docs submitted as https://github.com/microsoft/vcpkg-docs/pull/79

* Actually implement --all.

* Get rid of the _UpdatingRegistryDataFrom$.comment edit.
2023-05-08 11:37:21 -07:00
Billy O'Neal 290784fd33
Restore activating message when no postscript is present. (#1046)
* Restore activating message when no postscript is present.

Resolves https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_workitems/edit/1780139/

* Add linux-with-artifacts preset.

* fixup linux artifacts preset

* Actually fix Linux and Mac.

* format
2023-05-03 12:15:39 -07:00
Billy O'Neal 1cfb4350ea
Fix activate + use + activate unstacking with "combined" environment variables. (#954)
* Add a test to detect the problem that occurred in the demo of use stacking this morning.

Repro pseudocode:

vcpkg new
vcpkg add artifact gcc
vcpkg activate
vcpkg use cmake
vcpkg activate
assert(Get-Command cmake) -eq $null

* Delete unused Activation.getEnvironmentBlock()

* Reorder "deactivate" of the environment to happen at the beginning of activation rather than the end, so that replacements aren't dependent on whether activation happens or not.

* Extract writePostscript.

* clang-format
2023-03-16 16:43:39 -07:00
Billy O'Neal a333c87dba
Allow use to stack on use and activate, but not vice versa. (#944)
* Allow use to stack on use and activate, but not vice versa.

Resolves https://github.com/microsoft/vcpkg/issues/29978

Also adds the ability to e2e test any artifacts things.
Also gets rid of duplicate definition of Record.
Also removes meaningless --project switch from deactivate.
Also localizes error and warning in artifacts messages.
Also warns if the user ran just the exe and we're doing something that needs the postscript file.
Also applies changes from vcpkg-init.ps1 to vcpkg-in-development.ps1.
2023-03-09 14:25:53 -08:00