feat: support packing multiple packages #13
Reference in New Issue
Block a user
Delete Branch "Jvlegod/go2spec:feature/pack-multiple-packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
给 pack 命令新增特性, 能同时生成多个 spec,
go2spec pack <xxx@version> <xxx> <xxx> ...中间有一个pack中断则停止后面的生成.
用法.
目前还新增了检查所有 packages 是否合法的功能, 如果多包打包的时候存在不合法的包, 那么就终止传入的所有包.
整个流程为: 解析所有包的信息, 检查合法性, 开始打包.
7968f1d4fb 是支持多包形式的参数传递功能
3cd7fe3944 是支持 -list 打包 go.mod 功能
ccf379d50b 是增加包的合法性检测功能
1feb87783a 是对多包支持的增强, 增加了伪版本的识别(类似 v0.0.0-20260722051018-856be88baec4)
f5d2a42f4dtod2d09d06fdd2d09d06fdtoccf379d50bView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.