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