All Projects → cristianoliveira → Funzzy

cristianoliveira / Funzzy

Licence: mit
Yet another fancy watcher. (Rust)

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Funzzy

watcher
The file system watcher that strives for perfection, with no native dependencies and optional rename detection support.
Stars: ✭ 37 (-73.94%)
Mutual labels:  watch, watcher
cheap-watch
If it works, why use something else? // Mirror of https://git.chor.date/Conduitry/cheap-watch
Stars: ✭ 64 (-54.93%)
Mutual labels:  watch, watcher
gowatch
watch go files for developer, support run test case and auto reload server application
Stars: ✭ 18 (-87.32%)
Mutual labels:  watch, watcher
Multiwatch
Simple task runner on directory changes that doesn't produce tons of logs if everything is OK 👌
Stars: ✭ 74 (-47.89%)
Mutual labels:  watch, watcher
Denon
👀 Monitor any changes in your Deno application and automatically restart.
Stars: ✭ 725 (+410.56%)
Mutual labels:  watch, watcher
compose-watcher
Watch volumes and restart services in docker compose
Stars: ✭ 27 (-80.99%)
Mutual labels:  watch, watcher
pwatch
Process watcher(pwatch)
Stars: ✭ 33 (-76.76%)
Mutual labels:  watch, watcher
toxic-decorators
Library of Javascript decorators
Stars: ✭ 26 (-81.69%)
Mutual labels:  watch, watcher
Proxy Watcher
A library that recursively watches an object for mutations via Proxies and tells you which paths changed.
Stars: ✭ 35 (-75.35%)
Mutual labels:  watch, watcher
Git Repo Watcher
A simple bash script to watch a git repository and pull upstream changes if needed.
Stars: ✭ 73 (-48.59%)
Mutual labels:  watch, watcher
Dropseqpipe
A SingleCell RNASeq pre-processing snakemake workflow
Stars: ✭ 119 (-16.2%)
Mutual labels:  yaml
On Change
Watch an object or array for changes
Stars: ✭ 1,709 (+1103.52%)
Mutual labels:  watch
Noyaml
A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
Stars: ✭ 132 (-7.04%)
Mutual labels:  yaml
Yaml Expander
Expands internal property references in a yaml file.
Stars: ✭ 137 (-3.52%)
Mutual labels:  yaml
Coc Yaml
Yaml language server extension for coc.nvim
Stars: ✭ 119 (-16.2%)
Mutual labels:  yaml
Oq
A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
Stars: ✭ 132 (-7.04%)
Mutual labels:  yaml
Config Lint
Command line tool to validate configuration files
Stars: ✭ 118 (-16.9%)
Mutual labels:  yaml
Gray Matter
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Stars: ✭ 2,105 (+1382.39%)
Mutual labels:  yaml
Napalm Salt
Modules for event-driven network automation and orchestration using Salt
Stars: ✭ 116 (-18.31%)
Mutual labels:  yaml
Fig
A minimalist Go configuration library
Stars: ✭ 142 (+0%)
Mutual labels:  yaml

funzzy Build Status Crate version

Yet another fancy watcher. (Inspired by antr / entr)

Configure execution of different commands using semantic yaml.

# .watch.yaml
# list here all the events and the commands that it should execute
# TIP: include '.watch.yaml' in your .git/info/exclude to ignore it.

- name: run my tests
  run: make test
  change: 'tests/**'
  ignore: 'tests/integration/**'

- name: fast compile sass
  run: compass compile src/static/some.scss
  change: ['src/static/**', 'src/assets/*']

- name: Starwars
  run: telnet towel.blinkenlights.nl
  change: '.watch.yaml'

- name: say hello
  run: say hello
  change: '.watch.yaml'
  run_on_init: true

Motivation

Create a lightweight watcher to run my tests everytime something in my project change. So I won't forget to keep my tests passing. Funzzy was made with Rust that is why it consumes almost nothing to run.

Installing

  • OSX:
brew tap cristianoliveira/tap
brew update
brew install funzzy
  • Linux:
curl -s https://raw.githubusercontent.com/cristianoliveira/funzzy/master/linux-install.sh | sh
  • With Cargo
cargo install funzzy

*Make sure you have $HOME/.cargo/bin in your PATH export $PATH:$HOME/.cargo/bin

From source

Make sure you have installed the follow dependecies:

  • Rust

Clone this repo and do:

make install

Running

Initializing with boilerplate:

funzzy init

Change the yaml as you want. Then run:

funzzy watch

Run with some arbitrary command and stdin

find . -R '**.rs' | funzzy 'cargo build'

Run some arbitrary command in an interval of seconds

funzzy run 'cargo build' 10

Playground

It does not work between vm and host machine

If you wanna try without installing it in your machine, try the playground vagrant.

cd funzzy
vagrant up

# Testing
vagrant ssh -c "cd /vagrant && funzzy watch"

# Another shell
vagrant ssh -c "touch /vagrant/.watch.yaml"

It will take some time to be prepared.

Tests

Running tests:

cargo test

or simple make tests

Code Style

We use clippy for lintting the funzzy's source code. Make sure you had validate it before commit.

Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

Pull Requests are really welcome! Others support also.

Pull Request should have unit tests

License

This project was made under MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].