Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
705 changed files
with
220 additions
and
329,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
GO_CMD=go | ||
SYNCD_BIN=syncd_bin | ||
SYNCD_BIN_PATH=./output/bin | ||
SYNCD_ETC_PATH=./output/etc | ||
SYNCD_PUBLIC_PATH=./output/public | ||
SYNCD_LOG_PATH=./output/log | ||
|
||
.PHONY: all | ||
all: clean build install | ||
|
||
.PHONY: linux | ||
linux: clean build-linux install | ||
|
||
.PHONY: build | ||
build: | ||
@echo "build start >>>" | ||
GOPROXY=https://goproxy.io $(GO_CMD) mod tidy | ||
$(GO_CMD) build -o $(SYNCD_BIN) ./syncd/main.go | ||
@echo ">>> build complete" | ||
|
||
.PHONY: install | ||
install: | ||
@echo "install start >>>" | ||
mkdir -p $(SYNCD_BIN_PATH) | ||
mv $(SYNCD_BIN) $(SYNCD_BIN_PATH)/syncd | ||
mkdir -p $(SYNCD_ETC_PATH) | ||
cp ./syncd.ini $(SYNCD_ETC_PATH) | ||
cp -r ./public $(SYNCD_PUBLIC_PATH) | ||
mkdir -p $(SYNCD_LOG_PATH) | ||
@echo ">>> install complete" | ||
|
||
.PHONY: clean | ||
clean: | ||
@echo "clean start >>>" | ||
rm -fr ./output | ||
rm -f $(SYNCD_BIN) | ||
@echo ">>> clean complete" | ||
|
||
.PHONY: build-linux | ||
build-linux: | ||
@echo "build-linux start >>>" | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO_CMD) build -o $(SYNCD_BIN) ./syncd/main.go | ||
@echo ">>> build-linux complete" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1024174_wklm6zdwvxb.css><title>web</title><link href=/css/chunk-0270f6b6.cb38e73a.css rel=prefetch><link href=/css/chunk-4e858e2b.a3c25090.css rel=prefetch><link href=/css/chunk-ec4f13a4.b86ea360.css rel=prefetch><link href=/js/chunk-0270f6b6.5f3123f8.js rel=prefetch><link href=/js/chunk-22f331f4.6e2150aa.js rel=prefetch><link href=/js/chunk-232f6874.b17349fc.js rel=prefetch><link href=/js/chunk-2d0f0051.00b7804c.js rel=prefetch><link href=/js/chunk-47ca69a2.bf4b3373.js rel=prefetch><link href=/js/chunk-4e858e2b.135e129b.js rel=prefetch><link href=/js/chunk-57c1a702.262052f2.js rel=prefetch><link href=/js/chunk-58cbcdef.2c344c6b.js rel=prefetch><link href=/js/chunk-5a77cfd8.cf9c3b66.js rel=prefetch><link href=/js/chunk-768b7ab8.83fecb7d.js rel=prefetch><link href=/js/chunk-7f41692c.5d28e4b5.js rel=prefetch><link href=/js/chunk-e4aaa026.90bc1f9a.js rel=prefetch><link href=/js/chunk-ec4f13a4.d88dda1a.js rel=prefetch><link href=/js/chunk-f4b66f66.df29d185.js rel=prefetch><link href=/css/app.42f05d7b.css rel=preload as=style><link href=/css/chunk-vendors.9c8e3772.css rel=preload as=style><link href=/js/app.e72afdde.js rel=preload as=script><link href=/js/chunk-vendors.99868b58.js rel=preload as=script><link href=/css/chunk-vendors.9c8e3772.css rel=stylesheet><link href=/css/app.42f05d7b.css rel=stylesheet></head><body><noscript><strong>We're sorry but web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.99868b58.js></script><script src=/js/app.e72afdde.js></script></body></html> | ||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet type=text/css href=//at.alicdn.com/t/font_1024174_qdfadzr4d.css><link rel=icon href=/static/favicon.ico><title>Syncd - 自动化发布系统</title><link href=/static/css/chunk-21c9e7bf.a3c25090.css rel=prefetch><link href=/static/css/chunk-8a44c3e0.cb38e73a.css rel=prefetch><link href=/static/css/chunk-e3695f98.b86ea360.css rel=prefetch><link href=/static/js/chunk-162ff1ff.15a23fae.js rel=prefetch><link href=/static/js/chunk-21c9e7bf.ec2f8115.js rel=prefetch><link href=/static/js/chunk-22f331f4.0eddfbce.js rel=prefetch><link href=/static/js/chunk-232f6874.c45db812.js rel=prefetch><link href=/static/js/chunk-29553eaa.4ebf8cb5.js rel=prefetch><link href=/static/js/chunk-2d0f0051.d23388af.js rel=prefetch><link href=/static/js/chunk-58cbcdef.2c344c6b.js rel=prefetch><link href=/static/js/chunk-5a77cfd8.4e40248e.js rel=prefetch><link href=/static/js/chunk-768b7ab8.2e39c37f.js rel=prefetch><link href=/static/js/chunk-7ef915ac.e5c53307.js rel=prefetch><link href=/static/js/chunk-8a44c3e0.5374e90e.js rel=prefetch><link href=/static/js/chunk-a101e242.0f232132.js rel=prefetch><link href=/static/js/chunk-e3695f98.4489b617.js rel=prefetch><link href=/static/js/chunk-f4b66f66.eb08a10d.js rel=prefetch><link href=/static/css/app.d770df8f.css rel=preload as=style><link href=/static/css/chunk-vendors.9c8e3772.css rel=preload as=style><link href=/static/js/app.2bf0ccd2.js rel=preload as=script><link href=/static/js/chunk-vendors.512af33a.js rel=preload as=script><link href=/static/css/chunk-vendors.9c8e3772.css rel=stylesheet><link href=/static/css/app.d770df8f.css rel=stylesheet></head><body><noscript><strong>We're sorry but web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.512af33a.js></script><script src=/static/js/app.2bf0ccd2.js></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.