mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 18:23:59 +08:00
chore(command): support windows (#153)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package main
|
||||
|
||||
func rmcmd(target string) string {
|
||||
return "rm -rf " + target
|
||||
}
|
||||
|
||||
func mkdircmd(target string) string {
|
||||
return "mkdir -p " + target
|
||||
}
|
||||
Reference in New Issue
Block a user