feature: `projen clean`
See original GitHub issueI know there is clobber
, but it might not always be desirable as it also does:
hard resets to HEAD of origin
This will not work in cases where:
- There is no
origin
yet, as the repo hasn’t been pushed to any remotes (local repo) - I have commits that I don’t want to reset to HEAD of origin
In fact, this feels like a mix of concerns that would be better split up and clean
is just triggered by clobber
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
projen/cleanup.ts at main - GitHub
A new generation of project generators. Contribute to projen/projen development by creating an account on GitHub.
Read more >API Reference | projen
ResourceClass, The resource_class feature allows configuring CPU and RAM resources for each job. ... Exclude the matching files from pre-synth cleanup.
Read more >A Beginner's Guide to Create AWS CDK Construct Library with ...
Introduction. AWS CDK allows you to create your Construct Library and publish it to npm or PyPI. Using projen makes the development of ......
Read more >They use Mergify: Wheatstalk
We then use a CDK adjacent tool called Projen to maintain the project ... So typically what we're doing is opening up feature...
Read more >british-sugar-logo - PM Projen
PM PROjEN receives RoSPA Order of Distinction Award for Health and Safety achievements · PM PROjEN supporting the Great British Spring Clean ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good idea. I just had the following use-case:
projen
commands.projen build
command.projen build
step used some of the build outputs as inputs to itself.git clean -dfx
(-d
includes directory,-f
or “force” is required to actually remove files, and-x
removes gitignored files in addition to untracked ones).I think that, since
projen
is heavily git-based, something like the git command above would make a lot of sense as a genericclean
:git clean -dfx
GitHub stale bot considered harmful