forked from Jake-Shadle/xwin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clap 3 by default doesn't add author/version/about metadata * Change option to `--manifest-version` * Update CHANGELOG * Add snapshot testing for CLI * Actually run CLI tests in CI * Update snapshots * Force terminal width
- Loading branch information
1 parent
5a929f5
commit c1083b7
Showing
10 changed files
with
359 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
source: src/main.rs | ||
assertion_line: 382 | ||
expression: help_text | ||
|
||
--- | ||
download 0.0.0 | ||
Downloads all the selected packages that aren't already present in the download | ||
cache | ||
|
||
USAGE: | ||
download | ||
|
||
OPTIONS: | ||
-h, --help | ||
Print help information | ||
|
||
-V, --version | ||
Print version information | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: src/main.rs | ||
assertion_line: 382 | ||
expression: help_text | ||
|
||
--- | ||
list 0.0.0 | ||
Displays a summary of the packages that would be downloaded. | ||
|
||
Note that this is not a full list as the SDK uses MSI files for many packages, | ||
so they would need to be downloaded and inspected to determine which CAB files | ||
must also be downloaded to get the content needed. | ||
|
||
USAGE: | ||
list | ||
|
||
OPTIONS: | ||
-h, --help | ||
Print help information | ||
|
||
-V, --version | ||
Print version information | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
source: src/main.rs | ||
assertion_line: 382 | ||
expression: help_text | ||
|
||
--- | ||
splat 0.0.0 | ||
Fixes the packages to prune unneeded files and adds symlinks to address file | ||
casing issues and then spalts the final artifacts into directories | ||
|
||
USAGE: | ||
splat [OPTIONS] | ||
|
||
OPTIONS: | ||
--copy | ||
Copies files from the unpack directory to the splat directory | ||
instead of moving them, which preserves the original unpack | ||
directories but increases overall time and disk usage | ||
|
||
--disable-symlinks | ||
By default, symlinks are added to both the CRT and WindowsSDK to | ||
address casing issues in general usage. For example, if you are | ||
compiling C/C++ code that does `#include <windows.h>`, it will break | ||
on a case-sensitive file system, as the actual path in the | ||
WindowsSDK is `Windows.h`. This also applies even if the C/C++ you | ||
are compiling uses correct casing for all CRT/SDK includes, as the | ||
internal headers also use incorrect casing in most cases | ||
-h, --help | ||
Print help information | ||
--include-debug-libs | ||
The MSVCRT includes (non-redistributable) debug versions of the | ||
various libs that are generally uninteresting to keep for most usage | ||
--include-debug-symbols | ||
The MSVCRT includes PDB (debug symbols) files for several of the | ||
libraries that are generally uninteresting to keep for most usage | ||
--output <OUTPUT> | ||
The root output directory. Defaults to `./.xwin-cache/splat` if not | ||
specified | ||
--preserve-ms-arch-notation | ||
By default, we convert the MS specific `x64`, `arm`, and `arm64` | ||
target architectures to the more canonical `x86_64`, `aarch`, and | ||
`aarch64` of LLVM etc when creating directories/names. Passing this | ||
flag will preserve the MS names for those targets | ||
-V, --version | ||
Print version information | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
source: src/main.rs | ||
assertion_line: 382 | ||
expression: help_text | ||
|
||
--- | ||
unpack 0.0.0 | ||
Unpacks all of the downloaded packages to disk | ||
|
||
USAGE: | ||
unpack | ||
|
||
OPTIONS: | ||
-h, --help | ||
Print help information | ||
|
||
-V, --version | ||
Print version information | ||
|
Oops, something went wrong.