Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianhicks/uatu
The watcher
https://github.com/brianhicks/uatu
Last synced: 6 days ago
JSON representation
The watcher
- Host: GitHub
- URL: https://github.com/brianhicks/uatu
- Owner: BrianHicks
- Created: 2012-02-22T19:23:39.000Z (almost 13 years ago)
- Default Branch: develop
- Last Pushed: 2012-02-23T19:41:45.000Z (almost 13 years ago)
- Last Synced: 2024-12-09T19:53:43.535Z (14 days ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UATU
Put this in your pipe (`uatu.yaml`):
```yaml
test:
watch: .+\.py
transform: tests/%s
command: nosetests
```and smoke it:
`$ uatu`
Or, slightly more advanced:
```yaml
test:
watch: (?P.+)/(?P.+)\.py
transform: %(path)s/tests/%(file)s_tests.py
command: nosetestslint:
watch: .+\.py
command: pylint -r n
```If you get *really* crazy, specify `transform_command`. Your command
should accept the filename from STDIN and output the transformed
filename to STDOUT. Examples to come.## Q&A:
- WTF? There's no code here!
Yeah, pretty much. Watch the repo or something. The first legit
release I'll push out to pypi.## Contributing:
In case you go crazy and want to contribute to a project with no code
(IE this one), I'm using git flow, and you probably should too, since
releases are going to be fairly infrequent but hopefully stable. If you
don't want to, just make topic branches off `develop`. Either way, make
a pull request for your feature/whatever branch, and I'll merge it.([About the Name](http://en.wikipedia.org/wiki/Uatu)) (because every
open-source project needs a colorful name.)