Skip to content

[Feature Request] Option to build all :build targets #1270

Description

@enspritz

Precis

Before:

$ npx shadow-cljs release :chrome :safari :brave :user-manager :signup

After:

$ npx shadow-cljs release
$ npx shadow-cljs release --all    # This can also work, but it's not obvious.

Not just the release command, but compile and all other such commands.

Discussion

release and such commands require one or more build targets, which coming from plenty of other build tools is not intuitive to me. If only we could expect build -related commands will build everything unless instructed otherwise...

Use case involves building several targets that change with some frequency, particularly when a new browser is added to the build list. When a new build target is added to shadow-cljs.edn, we need to remember to add it to each build script, which I find to be unnecessary cognitive overhead. Evidently it also fosters a brittle build CI/CD system.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions