mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-28 17:50:56 +01:00
加入自动安装依赖
This commit is contained in:
@@ -22,6 +22,8 @@ type Lang struct {
|
||||
LockPath string `json:"lock_path"`
|
||||
InstallScript string `json:"install_script"`
|
||||
InstallStatus string `json:"install_status"`
|
||||
DepFileName string `json:"dep_file_name"`
|
||||
InstallDepArgs string `json:"install_dep_cmd"`
|
||||
}
|
||||
|
||||
type Dependency struct {
|
||||
@@ -30,3 +32,7 @@ type Dependency struct {
|
||||
Description string `json:"description"`
|
||||
Installed bool `json:"installed"`
|
||||
}
|
||||
|
||||
type PackageJson struct {
|
||||
Dependencies map[string]string `json:"dependencies"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user