# manifests.build-scripts **Repository Path**: zinface/manifests.build-scripts ## Basic Information - **Project Name**: manifests.build-scripts - **Description**: 用于构建 manifests 系列项目维护的构建包 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-20 - **Last Updated**: 2024-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 用于构建 manifests.* 项目的构建包 > 与此项目有关: https://gitee.com/zinface/manifests.qt - 本仓库仅维护一个 `core.mk` ,使用 `repo` 管理项目时提供相关目的操作 在扩展 `core.mk` 时应使用 `include` 引入扩展的 `Makefile` 模块 (mk) ```makefile # core.mk .PHONY: all all: @echo "无事可做" # 引入默认的 repo.mk 进行扩展 repo 的相关操作 include build-scripts/repo.mk # 渐进式 NOTE: # .PHONY 意味着它不会生成任何目标文件,并且不与任何已存在相同名称的文件/目录产生相关内容 # ... ``` - 引入构建脚本仓库 ```xml ``` - 关于为特定 `repo` 仓库进行定制,可以为本仓库进行增加更多的特定脚本 以下是撰写本文档时的现状 ```shell build-scripts/ ├── core.mk ├── README.md ├── repo.mk └── repo-qt.mk 0 directories, 4 files ``` - 关于 `include build-scripts/repo.mk` > 一些可较为简单使用的操作 这是提供封装`repo`操作的基本内容,并且在其它在引入此构建脚本仓库前预定义内容。 ```makefile .PHONY: repo-support-test repo-support-test: @echo "$@: 已支持 repo 模块" # ------- manual macro extend ------- # .PHONY: enter-manifests enter-manifests: cd .repo/manifests && bash # ---------- git repo config ---------- # .PHONY: config-git-credential-helper config-git-credential-helper: repo forall -c git config credential.helper store cd .repo/manifests && git config credential.helper store ```