Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ders on github.
  • I am awm (https://keybase.io/awm) on keybase.
  • I have a public key ASAbVMm4bbLc0H9JQc6ApXwgWKATgzfY8I4cQhbvBrfyXAo

To claim this, I am signing this object:

@ders
ders / Gruntfile.js
Created January 19, 2016 08:17
Build static assets with grunt.
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
js: {
files: {
// These are all of js files we want minified and combined.
'pub/main.js': ['src/js/main.js'],
'pub/eggs.js': ['src/js/eggs.js', 'src/js/milk.js'],
@ders
ders / Makefile
Created January 13, 2016 09:05
Build static assets with make.
# source directories
SRC := src
CSS := $(SRC)/css
JS := $(SRC)/js
# publish directory; gets overwritten
PUB := pub
# these directories get copied unchanged from SRC to PUB
COPYDIRS := lib i