Skip to content

Instantly share code, notes, and snippets.

View adamallidina's full-sized avatar

adam allidina adamallidina

View GitHub Profile

Keybase proof

I hereby claim:

  • I am adamallidina on github.
  • I am adam (https://keybase.io/adam) on keybase.
  • I have a public key ASAvadpK03Z-APIGtSfqzqlzJKwIMQLmXK-EY51vmXiJQQo

To claim this, I am signing this object:

@adamallidina
adamallidina / inotify-cmake.sh
Created September 30, 2012 19:31 — forked from dln/inotify-cmake.sh
Continuous build on the cheap, using inotify, cmake and a terminal
#!/bin/bash
# Watch paths (given as arguments), automatically build when something changes.
# The script does a couple opinionated things to make my life easier:
#
# * Terminal scrollbuffer is reset before each iteration, simplifying scrolling.
# * I use a filter script to colorize gcc output (clang errors would be nicer).
# * Output is copied to a log file (/tmp/build.log).
# - I open this file in Sublime or vim, which reloads the file on change (each build).
#
# Usage: