1 Star 0 Fork 5

xueyun/secretpad

forked from 隐语SecretFlow/secretpad 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
Unqiue明阳 提交于 2023-09-07 16:56 . repo-sync-2023-09-07T16:54:57+0800
# Setting SHELL to bash allows bash commands to be executed by recipes.
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec
.PHONY: all
all: build
##@ General
# The help target prints out all targets with their descriptions organized
# beneath their categories. The categories are represented by '##@' and the
# target descriptions by '##'. The awk commands is responsible for reading the
# entire set of makefiles included in this invocation, looking for lines of the
# file as xyz: ## something, and then pretty-format the target and help. Then,
# if there's a line with ##@ something, that gets pretty-printed as a category.
# More info on the usage of ANSI control characters for terminal formatting:
# https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters
# More info on the awk command:
# http://linuxcommand.org/lc3_adv_awk.php
.PHONY: help
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-16s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
##@ Development
.PHONY: test
test: ## Run tests.
mvn clean test
.PHONY: build
build: ## Build SecretPad binary whether to integrate frontend.
./scripts/build.sh true
.PHONY: image
image: build ## Build docker image with the manager.
./scripts/build_image.sh
.PHONY: docs
docs: ## Build docs.
cd docs && pip install -r requirements.txt && make html
.PHONY: pack
pack: ## Build pack all in one with tar.gz.
./scripts/pack/pack_allinone.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liuxueyun/secretpad.git
git@gitee.com:liuxueyun/secretpad.git
liuxueyun
secretpad
secretpad
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385