Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (27 sloc) 0.851 kB
REPORTER = dot
# TODO check if mocha and docco are installed.
install:
npm install
clean:
cake clean
dev:
cake dev
build:
cake build
test:
cake test
tdd:
mocha -c -w -b --compilers coffee:coffee-script
gen_test_keys:
# openssl genrsa -des3 -passout pass:nosecret -out privkey.pem 2048
openssl genrsa -out etc/rsa_key.pem 2048
openssl rsa -in etc/rsa_key.pem -pubout > etc/rsa_pubkey.pem
# Generate the RSA keys and certificate
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -sha1 -subj \
'/C=US/ST=CA/L=San Francisco /CN=www.hashgo.com' -keyout \
etc/mytest-rsakey.pem -out etc/mytest-rsacert.pem
openssl pkcs12 -passout pass:notasecret -export -in etc/mytest-rsacert.pem -inkey etc/mytest-rsakey.pem -out etc/test-myrsacert.pi12 -name "Testing PKCS12 Certificate"
docs:
cake docs
all: install build test
.PHONY: all
Jump to Line
Something went wrong with that request. Please try again.