aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/platform_spec.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: refactor installer internals and add new Package class methods ↵William Boman2025-02-191-0/+10
| | | | | | | | | | | | | | | | | | | (#1523) This contains the following changes: 1) `Package:install()` now accepts a second, optional, callback argument which is called when installation finishes (successfully or not). 2) Adds a `Package:is_installing()` method. This contains the following breaking changes: 1) `Package:install()` will now error when called while an installation is already ongoing. Use the new `Package:is_installing()` method to check whether an installation is already running. This also refactors large portions of the tests by removing test globals, removing async_test, and adding the `mason-test` Lua module instead. Test helpers via globals are problematic to work with due to not being detected through tools like the Lua language server without additional configuration. This has been replaced with a Lua module `mason-test`. `async_test` has also been removed in favour of explicitly making use of the `mason-core.async` API. These changes stands for a significant portion of the diff.
* style: enforce import order (#1092)William Boman2023-03-121-4/+4
| | | | | * chore(workflows): update dependencies * style: enforce import order
* feat(platform): accept darwin (#743)William Boman2022-12-081-0/+3
| | | | | Mac systems are generally referred to as the Darwin OS. For all intents and purposes, "mac" and "darwin" can be used interchangeably (although darwin will be preferred going forward).
* feat(platform): better glibc detection (#537)William Boman2022-10-101-4/+12
|
* refactor(platform): more functional approach to parsing (#479)William Boman2022-09-291-0/+93
|
* feat: more competent platform detection (#436)William Boman2022-09-171-17/+40
|
* refactor: add mason-schemas and mason-core modules (#29)William Boman2022-07-081-0/+159
* refactor: add mason-schemas and move generated filetype map to mason-lspconfig * refactor: add mason-core module