This PR adds a new way of declaring supported platforms for packages. Previously individual build, host, and target values needed to be set for a given platform combination. Now, a platform spec can be written to generate many platform combinations. This allows for easy mapping of all possible systems with `@all`, linux systems with `@linux` or any other available alias of `lib.systems.doubles.<alias>` by using `@<alias>`. In addition, you can use `@build` and `@host` to lock either the host or target respectively to match the prior platform. Reviewed-on: #15
29 lines
757 B
JSON
29 lines
757 B
JSON
{
|
|
"pins": {
|
|
"foundation": {
|
|
"type": "Git",
|
|
"repository": {
|
|
"type": "Git",
|
|
"url": "https://git.auxolotl.org/auxolotl/foundation.git"
|
|
},
|
|
"branch": "main",
|
|
"submodules": false,
|
|
"revision": "ec6ba877756d3b898c75bdf8f75faff671fb3dbb",
|
|
"url": null,
|
|
"hash": "sha256-wCnUEFuFu1YKo2iE/kZeEpg3G8sCWeijuHXHTctKpJQ="
|
|
},
|
|
"lib": {
|
|
"type": "Git",
|
|
"repository": {
|
|
"type": "Git",
|
|
"url": "https://git.auxolotl.org/auxolotl/lib.git"
|
|
},
|
|
"branch": "main",
|
|
"submodules": false,
|
|
"revision": "2af4e9f1d5dfe835c0eba15be1035bfa4065aca7",
|
|
"url": null,
|
|
"hash": "sha256-fwycuhXJGDHniLlxA8Xx4IELUObrP0EW3EnsDwNdyoQ="
|
|
}
|
|
},
|
|
"version": 6
|
|
}
|