Skip to content

Instantly share code, notes, and snippets.


Brent Tubbs btubbs

View GitHub Profile

Keybase proof

I hereby claim:

  • I am btubbs on github.
  • I am btubbs ( on keybase.
  • I have a public key ASCU43mYG7sqfx0RVxoJ8gjyz87lKgcisv37yaefD9AU2wo

To claim this, I am signing this object:

btubbs / Makefile
Created Apr 9, 2015
Makefile for Mettle, a soon-to-be-open-sourced system for executing and monitoring ETL jobs. It integrates the installation of dependencies from pip, npm, and bower, and handles compiling React's JSX code into JS. There are also helpers for the system's Postgres and RabbitMQ backends.
View Makefile
.PHONY: dbsetup clean_files clean_rabbit clean migrate dev js
# Both Python and Node programs will be put here.
BIN=$(shell dirname `which python`)
# Our React components have dependencies on each other. This ordering is important.
JSX_MODULES=jobs targets runs pipelines services app
JSX_TARGETS=$(foreach module,$(JSX_MODULES),$(JSX_DIR)/$(module).js)
View gist:92010354170044faf11a
# -*- coding: utf-8 -*-
Adapted from Armin Ronacher's "webpylike".
With this, an application can look like this:
from webzeug import App, Request, Response, View