Skip to content

Instantly share code, notes, and snippets.

@copenhas
Created March 25, 2014 17:09
Show Gist options
  • Save copenhas/9766498 to your computer and use it in GitHub Desktop.
Save copenhas/9766498 to your computer and use it in GitHub Desktop.
Playing around with Tup
{
"name": "tup-demo",
"version": "0.0.0",
"description": "Playing around with using Tup as a build system",
"dependencies": {},
"devDependencies": {
"coffee-script": "~1.7.1",
"istanbul": "~0.2.6",
"urequire": "~0.6.13-1"
},
"scripts": {},
"author": "[email protected]",
"license": "MIT"
}
: foreach app/*.coffee |> ./node_modules/coffee-script/bin/coffee -c -o _build/coffee/ %f |> _build/coffee/%B.js
: foreach _build/coffee/*.coffee |> ./node_modules/istanbul/lib/cli.js --output _build/instrumented/ %f |> _build/instrumented/%B.js
@matthewphilyaw
Copy link

OK, after reading through the docs a little more and studying this example I think I get the mechanics of it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment