-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (35 loc) · 1.37 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
all: sola middleware extension cli
echo "success!"
sola: .
go build -o ./dist/sola.a .
middleware: auth cors graphql logger native proxy rest router swagger ws x.router
auth: ./middleware/auth
go build -o ./dist/middleware/auth.a ./middleware/auth
cors: ./middleware/cors
go build -o ./dist/middleware/cors.a ./middleware/cors
graphql: ./middleware/graphql
go build -o ./dist/middleware/graphql.a ./middleware/graphql
logger: ./middleware/logger
go build -o ./dist/middleware/logger.a ./middleware/logger
native: ./middleware/native
go build -o ./dist/middleware/native.a ./middleware/native
proxy: ./middleware/proxy
go build -o ./dist/middleware/proxy.a ./middleware/proxy
rest: ./middleware/rest
go build -o ./dist/middleware/rest.a ./middleware/rest
router: ./middleware/router
go build -o ./dist/middleware/router.a ./middleware/router
swagger: ./middleware/swagger
go build -o ./dist/middleware/swagger.a ./middleware/swagger
ws: ./middleware/ws
go build -o ./dist/middleware/ws.a ./middleware/ws
x.router: ./middleware/x/router
go build -o ./dist/middleware/x/router.a ./middleware/x/router
extension: hot sola-linux
hot: ./extension/hot
go build -o ./dist/extension/hot.a ./extension/hot
sola-linux: ./extension/sola-linux
go build -o ./dist/extension/sola-linux.a ./extension/sola-linux
cli: sola-hot
sola-hot: ./cli/sola-hot
go build -o ./dist/cli/sola-hot ./cli/sola-hot