Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garethr/localbuilder
Python script for monitoring a given directory for changes and running a command when something changes
https://github.com/garethr/localbuilder
Last synced: 2 months ago
JSON representation
Python script for monitoring a given directory for changes and running a command when something changes
- Host: GitHub
- URL: https://github.com/garethr/localbuilder
- Owner: garethr
- Created: 2008-10-27T13:57:26.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2008-11-22T12:49:10.000Z (about 16 years ago)
- Last Synced: 2024-10-04T13:32:29.647Z (3 months ago)
- Language: Python
- Homepage:
- Size: 78.1 KB
- Stars: 18
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Localbuilder is a simple solution to local Continuous Integration as well as being useful for a few other common tasks during development. It's written in Python but could be used on projects using any language.
./localbuilder --path /path/to/watch --command /command/to/execute
You can also specify the time between checks with the --period option. This defaults to 60 seconds.
Basic usage involves setting it to watch your working project folder. Whenever you make changes to any of the files, localbuilder will execute the specified command. Personally I use this mainly to execute a unit test suite whenever I make changes to a project.