Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 347 Bytes
remotehost = microjs
remotepath = /home/madrobby/htdocs/microjs.com/
scpfiles = index.html data-min.js data.js atom.xml
compile: deps
@./build.js
deps:
@npm install
deploy: compile
scp $(scpfiles) $(remotehost):$(remotepath)
# fully quiet except on a nasty error
autodeploy:
@./build.js -q
@scp -q $(scpfiles) $(remotehost):$(remotepath)