sporniket / ideas

My backlog of ideas, organized as a bunch of issues
0 stars 0 forks source link

[IsaMc68k] A specification of distribution for a library of macros #34

Open sporniket opened 1 year ago

sporniket commented 1 year ago

User story

As a developper

I want to have a normalized and automated way of adding a library of macros

In order to manage easily the dependencies of a project.

Technical details

Library consumer journey

Library developper journey

toolchain bootstrapping

sporniket commented 1 year ago

Portable library description, inspired by PlatformIO library.json :

{
    "providers":{
        "supported":[
            "github",
            "gitlab",
            "platformio"
        ],
        "preferred":"github"
    },
    "names":[
        "github:sporniket/myLibrary",
        "gitlab:sporniket/myLibrary",
        "platformio:sporniket/myLibrary"
    ],
    "version":"0.0.3",
    "description":"C++ library for PlatformIO, an implementation to interface with the 7-segment controller TM1637, using an I2C link of the ESP32.",
    "keywords":"IIC, I2C, esp32, espressif32, espidf, tm1637, TM1637",
    "dependencies":{
        "sporniket/Tm1637-by-sporniket":{
            "version":"~0.0.3",
            "sources":[
                "github:sporniket/Tm1637-by-sporniket",
                "platformio:sporniket/Tm1637-by-sporniket"
            ]
        }
    },
    "repository":{
        "type":"git",
        "urls":[
            {
                "github":"https://github.com/sporniket/Tm1637Esp32",
                "gitlab":"https://github.com/sporniket/Tm1637Esp32"
            }
        ]
    },
    "authors":[
        {
            "name":"David SPORN",
            "url":"https://github.com/sporniket",
            "maintainer":true
        }
    ],
    "export":{
        "exclude":[
            ".gitignore",
            "*.gz"
        ]
    },
    "license":"GPL-3.0-or-later"
}