Update CONTRIBUTING.md

This commit is contained in:
barnettZQG 2020-09-07 09:40:11 +08:00 committed by GitHub
parent 82a4af9ce4
commit f7b001f4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,17 @@
# Compile the project # Compile the project
``` ```
# if you have golang environment # you must have docker and golang environment
make build
# if you have docker environment # build all docker image
make image make image
# or
# build all binary file
make binary make binary
# build binary for different os
GOOS=windows make binary
# if you what build one component # if you what build one component
make binary WHAT=api make binary WHAT=api
make image WHAT=api make image WHAT=api