Open jazzbox opened 7 years ago
Hi @jazzbox this looks great.
I think it might need to be done with the Files API though, which is currently a dependency for marathon.
@jazzbox , does it actually support local libraries without the tilde? In my tests it does not seem to work and I couldn't find documentation about it.
@lf-araujo yes, it works. You have to specify the full path like here
import HTMLParser // marathon:/Users/box/Documents/dev/myprojects/Marathon/HTMLParser
And you should test that your library can be imported in a small demo SwiftPM project. If you have made a mistake (for example you forgot to version tag your library) Marathon gives total misleading and unhelpful error messages.
That and the fact, that marathon is and will be always lagging behind SwiftPM, I think that it is not worth the effort. I am using Marathon for proof-of-concept and prototyping now, but when I'm finished, I'm moving to a SwiftPM project (and version control of course).
@jazzbox not worth the effort? a little respect goes a long way. Not everyone deserves respect but I think John has earned it don’t you think?
Marathon might not be as reliable as main stream services but it’s free of charge.
you was using marathon in your release/production workflow? I don’t recommend using relatively unpopular and experimental open source ideas like this in production. Just use this for a bit of scripting here or there.
That and the fact, that marathon is and will be always lagging behind SwiftPM, I think that it is not worth the effort. I am using Marathon for proof-of-concept and prototyping now, but when I'm finished, I'm moving to a SwiftPM project (and version control of course).
I mean, marathon makes small scripts very easy to test and run, that is what I use it for. Perhaps you are using it to a too large of a project, where SPM may perform better.
@rob-nash In Linux the directory address is not working is it perhaps related to the fact that marathon tries to use -C, which is now deprecated?
[0;3mwarning: '--chdir/-C' option is deprecated; use '--package-path' instead
Thanks.
edit: I had to remove the library before using it through the local path, which means this works perfectly fine on Linux
@rob-nash Did we had a conversation? And who are you that you can tell me how I have to structure my work?
And wow "experimental idea", that is really disrespectful. Maybe you should not implying something that you are doing yourself!
Hi @lf-araujo not entirely sure about linux 🙄 sorry
@jazzbox relax. you have done some good work here. if you want to use marathon in a production environment, then go ahead.
@rob-nash - please take note that this repo has a code of conduct, and the sort of message ( which you rightly deleted ) to @jazzbox is definitely not welcome here. Please don't do it again.
Get off your high horse @orta
Marathon currently does not support local packages with a tilde in the path:
I am not quite sure where the patch should land, in Marathon itself:
or in the Releases package:
I tried both patches, both work for me.