Problem I faced was related to swift version which I'll troubleshoot - but rather than just a dead end - should spoon feed users on how to troubleshoot. Or ideally - just dish this verbose stuff up on errors.
(django) ➜ SyncForks marathon run helloWorld.swift --verbose
🏃 $ cd "/Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/" && readlink OriginalFile
/Users/johnpope/Documents/gitWorkspace/SyncForks/helloWorld.swift
$ cd "/Users/johnpope/Documents/gitWorkspace/SyncForks/" && /usr/bin/env xcrun --sdk macosx swift package --version
Apple Swift Package Manager - Swift 5.1.0 (swiftpm-14672.3)
$ cd "/Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/" && /usr/bin/env xcrun --sdk macosx swift build -C /Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/
[1/3] Compiling helloWorld main.swift
:0: error: invalid value '5.1' in '-swift-version 5.1'
:0: note: valid arguments to '-swift-version' are '4', '4.2', '5'
warning: '--chdir/-C' option is deprecated; use '--package-path' instead
💥 Failed to compile script
Problem I faced was related to swift version which I'll troubleshoot - but rather than just a dead end - should spoon feed users on how to troubleshoot. Or ideally - just dish this verbose stuff up on errors.
(django) ➜ SyncForks marathon run helloWorld.swift --verbose 🏃 $ cd "/Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/" && readlink OriginalFile /Users/johnpope/Documents/gitWorkspace/SyncForks/helloWorld.swift $ cd "/Users/johnpope/Documents/gitWorkspace/SyncForks/" && /usr/bin/env xcrun --sdk macosx swift package --version Apple Swift Package Manager - Swift 5.1.0 (swiftpm-14672.3) $ cd "/Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/" && /usr/bin/env xcrun --sdk macosx swift build -C /Users/johnpope/.marathon/Scripts/Cache/-Users-johnpope-Documents-gitWorkspace-SyncForks-helloWorld/ [1/3] Compiling helloWorld main.swift