Skip to content

Instantly share code, notes, and snippets.

Trevor Brown Stratus3D

View GitHub Profile
Stratus3D / Makefile
Created Jan 21, 2015
Golang Makefile
View Makefile
.PHONY: build doc fmt lint run test vendor_clean vendor_get vendor_update vet
# Prepend our _vendor directory to the system GOPATH
# so that import path resolution will prioritize
# our third party snapshots.
GOPATH := ${PWD}/_vendor:${GOPATH}
export GOPATH
default: build
View proxy.lua
-- proxy.lua
-- Adds "propertyUpdate" events to any Corona display object.
local m = {}
function m.get_proxy_for( obj )
local t = {}
t.raw = obj
View rules.exs
defmodule Rules do
defmacro __using__(_) do
quote do
import unquote(__MODULE__)
@before_compile unquote(__MODULE__)
@rules []
# Store each rules in the @rules attribute so we can
You can’t perform that action at this time.