Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deploy ¶ added in v0.9.2
func Deploy(path string, version string, outputDirectory string, excludes string, apiProxyAddr string) error
Deploy 远程发布
Types ¶
type PackageInfo ¶ added in v0.9.2
type PackageInfo struct { InfoFilePath string ModFilePath string ZipFilePath string ZipHashFilePath string SourceDir string // 源文件目录 TargetDir string // 打包输出目录 Excludes string // 排除目录,多个目录使用逗号分割 CacheInfoFilePath string CacheModFilePath string CacheZipFilePath string CacheZipHashFilePath string ModObj *modfile.File // module对象信息 ModName string // module信息 Version string // 版本号 APIProxyAddr string // 私服上传地址 }
PackageInfo 包信息
Click to show internal directories.
Click to hide internal directories.