-
Notifications
You must be signed in to change notification settings - Fork 165
/
Makefile
23 lines (20 loc) · 645 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
all:
go build -buildmode=c-shared -o go-auth.so
go build pw-gen/pw.go
requirements:
@echo "Installing development tools"
@go get -u github.com/pkg/errors
@go get -u github.com/dgrijalva/jwt-go
@go get -u github.com/jmoiron/sqlx
@go get -u github.com/lib/pq
@go get -u github.com/go-redis/redis
@go get -u golang.org/x/crypto/pbkdf2
@go get -u github.com/smartystreets/goconvey/convey
@go get -u github.com/go-sql-driver/mysql
@go get -u github.com/mattn/go-sqlite3
@go get -u go get gopkg.in/mgo.v2
@go get -u github.com/sirupsen/logrus
test:
go test ./backends -v -bench=none
benchmark:
go test ./backends -v -bench=. -run=^a