Java Developer

ot-clean, Handle any project using YAML format

ot-clean is able to find and clean up maven project by default (more project structures might be supported in the future). However, you can clean any project or directory you want. The process is very simple. Create .clean.yml file with the list of files or directories you want to remove and that’s all.

Example configuration

See example .clean.yml file below which I’m using to clean up playframework project.

deletes:
 - project-web/target
 - project-web/project/target
 - project-web/project/project/target
 - project-web/logs
 - project-web/.sbtserver

Note that yml file is located above playframework working directory. It’s really up to you if you want to commit that file to the repository or not.

The ot-clean series

This blog post is one of the series about the ot-clean. Simple open source tool that maintains your projects directories cleaned from all the garbage. Feel free to look at the source code or readme page for more information. You can also submit pull request or post suggestion. This text participates in open source blogging competition.

Project status

Build Status

All posts from the ot-clean series


Like it? Share it on , , ,

About the author

Grzegorz Gajos, Software Architect with international consulting and programming background. Co-founder of Open Tangerine Software House. Quality evangelist. An experienced entrepreneur, out of the box thinker and problem solver.