This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
Change Facebook test users password | |
''' | |
import urllib, urllib2, json | |
# makes a batch call to facebook | |
# access_token : facebook access token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: test-cover-html | |
PACKAGES = $(shell find ./ -type d -not -path '*/\.*') | |
test-cover-html: | |
echo "mode: count" > coverage-all.out | |
$(foreach pkg,$(PACKAGES),\ | |
go test -coverprofile=coverage.out -covermode=count $(pkg);\ | |
tail -n +2 coverage.out >> coverage-all.out;) | |
go tool cover -html=coverage-all.out |