Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

Unable to edit all scripts with Xcode #130

Open
johandk89 opened this issue Sep 19, 2017 · 1 comment
Open

Unable to edit all scripts with Xcode #130

johandk89 opened this issue Sep 19, 2017 · 1 comment

Comments

@johandk89
Copy link

Lets say I have 2 files in my script. Script.swift which I created with marathon create Script.swift and File1.swift.

I added File1.swift to my Marathon file and everything works fine, I can build the app and the code in File1.swift is executed. But when trying to edit these files in Xcode by running marathon edit Script.swift it opens a Xcode project with both files in the project but only changes to Script.swift is saved

Is it possible to save edits to all the files contained in the Marathon file when editing the scripts with Xcode?

@johandk89 johandk89 changed the title Unable to edit all script with Xcode Unable to edit all scripts with Xcode Sep 19, 2017
@ghost
Copy link

ghost commented Aug 19, 2018

Lets say I have 2 files in my script

A script is a single file? Please clarify.

I added File1.swift to my Marathon file

A MarathonFile should be a list of dependencies for your script. Please clarify.

But when trying to edit these files in Xcode by running marathon edit Script.swift it opens a Xcode project with both files in the project but only changes to Script.swift is saved
  • You cannot edit multiple files with the command marathon edit Script.swift because Script.swift is the name of just one file.
  • Xcode open with both files? What do you mean by both files. Only changes to Script.swift are saved when you edit which file?

This is by far the most confusing issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant