This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
48 lines (41 loc) · 1.41 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
40
41
42
43
44
45
46
47
48
all:
set GOOS=linux
set GOARCH=amd64
go build -o docker-compose\property\property property\main\property_server.go
go build -o docker-compose\auth\auth auth\main\auth_server.go
go build -o docker-compose\groups\groups groups\main\groups_server.go
go build -o docker-compose\history\history history\main\history_server.go
go build -o docker-compose\ldap\ldap ldap\main\ldap_server.go
go build -o docker-compose\staff\staff staff\main\staff_server.go
go build -o docker-compose\http_server\http_server http_server\http_server.go
http_server:
set GOOS=linux
set GOARCH=amd64
go build -o http_server\http_server http_server\http_server.go
xcopy http_server\static docker-compose\http_server\static
xcopy http_server\templates docker-compose\http_server\templates
copy http_server\favicon.ico docker-compose\http_server
property:
set GOOS=linux
set GOARCH=amd64
go build -o property\main\property property\main\property_server.go
auth:
set GOOS=linux
set GOARCH=amd64
go build -o auth\main\auth auth\main\auth_server.go
groups:
set GOOS=linux
set GOARCH=amd64
go build -o groups\main\groups groups\main\groups_server.go
history:
set GOOS=linux
set GOARCH=amd64
go build -o history\main\history history\main\history_server.go
ldap:
set GOOS=linux
set GOARCH=amd64
go build -o ldap\main\ldap ldap\main\ldap_server.go
staff:
set GOOS=linux
set GOARCH=amd64
go build -o staff\main\staff staff\main\staff_server.go