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

Introduce suspenders:tasks generator #1160

Merged

Conversation

stevepolitodesign
Copy link
Contributor

@stevepolitodesign stevepolitodesign commented Feb 19, 2024

Relates to #1157

For now, this generator simply creates dev.rake which contains dev:prime.

Note that we'll want this generator to run after suspenders:factories.

If future application specific tasks need to be added, we can use this
generator. However, this should not be confused with the existing pattern of
creating tasks under the suspenders namespace, such as the existing
lib/tasks/suspenders.rake. Tasks under this namespace cannot be edited by the
consumer, whereas tasks generated by suspenders:tasks are intended to be
edited by the consumer.

@stevepolitodesign stevepolitodesign changed the base branch from main to suspenders-3-0-0 February 19, 2024 21:51
Relates to #1157

For now, this generator simply creates `dev.rake` which contains
[dev:prime][].

Note that we'll want this generator to run **after**
`suspenders:factories`.

If future application specific tasks need to be added, we can use this
generator. However, this should not be confused with the existing
pattern of creating tasks under the suspenders namespace, such as the
existing `lib/tasks/suspenders.rake`. Tasks under this namespace cannot
be edited by the consumer, whereas tasks generated by `suspenders:tasks`
are intended to be edited by the consumer.

[dev:prime]: https://thoughtbot.com/blog/priming-the-pump
@stevepolitodesign stevepolitodesign merged commit 63fa9cd into suspenders-3-0-0 Feb 20, 2024
2 checks passed
@stevepolitodesign stevepolitodesign deleted the suspenders-3-0-0-tasks-generator branch February 20, 2024 11:41
@stevepolitodesign stevepolitodesign mentioned this pull request Feb 20, 2024
17 tasks
stevepolitodesign added a commit that referenced this pull request May 10, 2024
Relates to #1157

For now, this generator simply creates `dev.rake` which contains
[dev:prime][].

Note that we'll want this generator to run **after**
`suspenders:factories`.

If future application specific tasks need to be added, we can use this
generator. However, this should not be confused with the existing
pattern of creating tasks under the suspenders namespace, such as the
existing `lib/tasks/suspenders.rake`. Tasks under this namespace cannot
be edited by the consumer, whereas tasks generated by `suspenders:tasks`
are intended to be edited by the consumer.

[dev:prime]: https://thoughtbot.com/blog/priming-the-pump
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