Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gelisam/submake
Use git to replay part of a bash pipeline.
https://github.com/gelisam/submake
Last synced: 22 days ago
JSON representation
Use git to replay part of a bash pipeline.
- Host: GitHub
- URL: https://github.com/gelisam/submake
- Owner: gelisam
- License: unlicense
- Created: 2013-09-28T15:57:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-03T04:39:34.000Z (about 11 years ago)
- Last Synced: 2023-04-13T07:57:06.955Z (over 1 year ago)
- Language: Haskell
- Size: 211 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Submake
=======Submake lets you to write and debug long bash pipelines. It stores intermediate results, using them to automatically skip the part of the pipeline which has not changed since the last run.
Usage
---A submakefile is similar to a makefile, except that recipes express Bash pipelines instead of Bash scripts.
mythumbnail.png: myimage.png
pngtopnm
pamscale -xyfit 32 32
pnmtopngLike make, submake re-evaluates a recipe if its input file has changed. In contrast to make, submake also re-evaluates a pipeline if the pipeline itself has changed.
Submake uses git to store intermediate results, using a non-intrusive mechanism which doesn't create new commits. It won't work unless it is executed from inside a git repository.