actions-hugo/src
Michael T Lombardi b7e8a5bdba
(GH-608) Add getConventions and refactor
This commit introduces the getConventions function, which does a one-time calculation
for the changes in packaging conventions to propagate to the getArch and getOS
functions.

It updates those functions and the installer code to leverage the conventions.

Finally, it updates the test arrangement for getArch and getOS to use test cases
instead of repeating the same test over and over and adds unit tests for the new
getConventions function.
2022-10-13 23:13:33 -05:00
..
constants.ts feat: Add support for different processor architectures (#518) 2021-05-27 13:03:38 +09:00
get-arch.ts (GH-608) Add getConventions and refactor 2022-10-13 23:13:33 -05:00
get-conventions.ts (GH-608) Add getConventions and refactor 2022-10-13 23:13:33 -05:00
get-latest-version.ts chore: change printWidth from 80 to 100 (#365) 2020-06-22 05:40:06 +09:00
get-os.ts (GH-608) Add getConventions and refactor 2022-10-13 23:13:33 -05:00
get-url.ts feat: Add support for different processor architectures (#518) 2021-05-27 13:03:38 +09:00
index.ts fix: Wrap an entrypoint by async to handle exceptions correctly (#363) 2020-06-21 13:16:10 +09:00
installer.ts (GH-608) Add getConventions and refactor 2022-10-13 23:13:33 -05:00
main.ts chore: change printWidth from 80 to 100 (#365) 2020-06-22 05:40:06 +09:00