fix
This commit is contained in:
parent
93830fd3c1
commit
10d986897b
|
@ -75,10 +75,9 @@ func (o *Outter) createDir(fp string) error {
|
|||
func (o *Outter) sourceCopy() {
|
||||
sourcePath := slash(fmt.Sprintf("./themes/%s/", o.Config.Theme))
|
||||
destPath := slash("./dist/" + o.Config.SourceVersion + "/")
|
||||
var args []string
|
||||
switch runtime.GOOS {
|
||||
case "windows":
|
||||
args = []string{"cmd.exe", "/C", "xcopy", "/e", "/y"}
|
||||
// args = []string{"cmd.exe", "/C", "xcopy", "/e", "/y"}
|
||||
default:
|
||||
// mkdir
|
||||
cssDir := fmt.Sprintf("%s/css", destPath)
|
||||
|
|
Loading…
Reference in New Issue