1 Star 0 Fork 9

王孜(lao/CoGPT

forked from guanty18/CoGPT 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 778 Bytes
一键复制 编辑 原始数据 按行查看 历史
Geniucker 提交于 2024-02-14 10:31 . chore: add CONTRIBUTING.md
exeargs =
args =
args1 =
args2 =
ifeq ($(OS),Windows_NT)
EXE_EXT = .exe
else
EXE_EXT =
endif
.PHONY: run
run: cogpt-api$(EXE_EXT)
./cogpt-api $(exeargs)
.PHONY: all
all: cogpt-api$(EXE_EXT) cogpt-get-apptoken$(EXE_EXT) gen-share-token$(EXE_EXT)
cogpt-api$(EXE_EXT): cmd/cogpt-api/*.go internal/*/*.go
$(args1) go build $(args) ./cmd/cogpt-api $(args2)
cogpt-get-apptoken$(EXE_EXT): cmd/cogpt-get-apptoken/*.go internal/*/*.go
$(args1) go build $(args) ./cmd/cogpt-get-apptoken $(args2)
gen-share-token$(EXE_EXT): cmd/gen-share-token/*.go internal/*/*.go
$(args1) go build $(args) ./cmd/gen-share-token $(args2)
.PHONY: tests
tests:
go test ./...
.PHONY: clean
clean:
rm -rf ./cogpt-api$(EXE_EXT) ./cogpt-get-apptoken$(EXE_EXT) ./gen-share-token$(EXE_EXT)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wa-zing/CoGPT.git
git@gitee.com:wa-zing/CoGPT.git
wa-zing
CoGPT
CoGPT
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385