Sha256: fed02bfb6b329ae9988c3286357331bdf518a7c9d41b76089903f21f8eec0318

Contents?: true

Size: 613 Bytes

Versions: 22

Compression:

Stored size: 613 Bytes

Contents

// import Foundation

// struct CopyDir: Script {

//     var usage: String {
//         return "Usage: swift CopyDir.swift <DIR1> <DIR2>"
//     }

//     var expectedNumberOfArguments = 2

//     func run(arguments arguments: [String]) {
//         let dir1 = arguments[0]
//         let dir2 = arguments[1]
//     }

//     func copyDir(dir1: String, dir2: String) {
//         let sourcePath = "XCFit_Template/"
//         let destinationPath = "~/Library/Developer/Xcode/Templates/"



//         shell(launchPath: "/bin/cp", arguments: ["-rf", sourcePath, destinationPath)
//     }
// }

// CopyDir().run()

Version data entries

22 entries across 16 versions & 1 rubygems

Version Path
xcfit-2.0.6 XCFit/Classes/CopyDir.swift
xcfit-2.0.4 XCFit/Classes/CopyDir.swift
xcfit-2.0.3 XCFit/Classes/CopyDir.swift
xcfit-2.0.2 XCFit/Classes/CopyDir.swift
xcfit-2.0.1 XCFit/Classes/CopyDir.swift
xcfit-2.0.0 XCFit/Classes/CopyDir.swift
xcfit-1.3.0 XCFit/Classes/CopyDir.swift
xcfit-1.2.0 XCFit/Classes/CopyDir.swift
xcfit-1.1.0 XCFit/Classes/CopyDir.swift
xcfit-1.0.0 XCFit/Classes/CopyDir.swift
xcfit-0.9.0 XCFit/Classes/CopyDir.swift
xcfit-0.9.0 XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift
xcfit-0.8.0 XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift
xcfit-0.8.0 XCFit/Classes/CopyDir.swift
xcfit-0.7.0 XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift
xcfit-0.7.0 XCFit/Classes/CopyDir.swift
xcfit-0.6.0 XCFit/Classes/CopyDir.swift
xcfit-0.6.0 XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift
xcfit-0.5.0 XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift
xcfit-0.5.0 XCFit/Classes/CopyDir.swift