Permalink
b957a90 Feb 12, 2016
@leafo @thibaultcha
17 lines (11 sloc) 309 Bytes
.PHONY: build test local show_types lint
build:
moonc pgmoon
test: build
busted -v
local: build
luarocks make --local pgmoon-dev-1.rockspec
show_types:
psql -U postgres -c "select oid, typname, typcategory, typelem from pg_type where typcategory in ('A', 'B', 'N', 'D', 'S');"
lint:
moonc -l pgmoon