Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --template flag to init command #403

Conversation

dappnodedev
Copy link
Contributor

By adding --template to the init command now the user can get a project for building several package variants from one package template

@dappnodedev dappnodedev force-pushed the dappnodedev/enable-templating branch from bdd21e9 to f56a1e6 Compare March 13, 2024 19:44
commit f56a1e6
Author: dappnodedev <[email protected]>
Date:   Tue Mar 12 14:48:10 2024 +0100

    Add template mode to build command (#398)

    * Add build args for template mode and variants

    * Merge manifest and compose files

    * Build package variants

    * Build all variants if none is defined

    * Show DNP name on build

    * Separate build dirs

    * Fix build test

    * Improve build handler style

    * Perform modifications based on review

    * Improve error handling in compose load

    * Squashed commit of the following:

    commit 28cae58
    Merge: dddaec8 ff912ae
    Author: dappnodedev <[email protected]>
    Date:   Tue Mar 12 12:15:35 2024 +0100

        Merge pull request #402 from dappnode/dappnodedev/bump-js-yaml-version

        Bump js-yaml to 4.1.0

    commit ff912ae
    Author: dappnodedev <[email protected]>
    Date:   Mon Mar 11 17:58:03 2024 +0100

        Bump js-yaml to 4.1.0

    * Replace template flag by variants or all-variants

    * Add templateMode flag to buildAndUpload

    * Add templateMode flag to build call

commit 28cae58
Merge: dddaec8 ff912ae
Author: dappnodedev <[email protected]>
Date:   Tue Mar 12 12:15:35 2024 +0100

    Merge pull request #402 from dappnode/dappnodedev/bump-js-yaml-version

    Bump js-yaml to 4.1.0

commit ff912ae
Author: dappnodedev <[email protected]>
Date:   Mon Mar 11 17:58:03 2024 +0100

    Bump js-yaml to 4.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant