Skip to content

Instantly share code, notes, and snippets.

View maglar0's full-sized avatar

Lars Magnusson maglar0

View GitHub Profile
@maglar0
maglar0 / Makefile
Created March 25, 2014 14:03
Makefile for building a React.js project using JSX and almond, while using requirejs and JSXTransformer during development. See discussion at https://github.com/seiffert/require-jsx/issues/1
NODE_MODULES=../node_modules
JSX=$(NODE_MODULES)/react-tools/bin/jsx
R=$(NODE_MODULES)/requirejs/bin/r.js
BUILD_JSX=build/jsx
SOURCE_JSX=js2/app/jsx
BUILD_APP=build/app
SOURCE_APP=js2/app
BUILD_LIB=build/lib