Closed BalestraPatrick closed 7 years ago
Update: Just realized I can run it with swift main.swift
but it's not mentioned in the README. Is this a supported way to run the project? :)
@BalestraPatrick Sure, you can compile & run main.swift
directly, no problems! 👍 For Homebrew, someone (hint hint 😉) other than me needs to submit the formula (they state We frown on authors submitting their own work unless it is very popular.
in their docs). 😇
@JohnSundell You'll have to tag and create a release (homebrew needs a URL with a zip to point to) . After that, I can submit to homebrew 🤓
@codeOfRobin Done! 🚀 https://github.com/JohnSundell/SwiftPlate/releases/tag/1.0.0. Thanks for helping out 💃
Awesome! I'll have it done by tomorrow.
@codeOfRobin That is amazing! Thank you so much! 👍
@JohnSundell I'll have to add a Makefile. Making a PR in a moment.
Okay, so updates.
swiftplate
, somehow supply all the arguments needed, then run testStructure.py
. I have a few ideas on how we could do this:-STDIN
. (I'm not nearly enough of a unix nerd to do this)swiftplate
, download contents of that test repo and test against it (and make sure that test repo is always updated with the changes in swiftplate
). This solution makes me 😒, but it's the fastest.@JohnSundell How hard would it be to accept a JSON file, parse it and use that to generate a project (I imagine not much, since JSONSerialization is available on both MacOS and Linux)
I think adding the option of supplying SwiftPlate's options via STDIN
probably makes the most sense. It would also make it easier to use it from for example CI, to be able to automate the automatic generation of projects 😅! I can work on this during the weekend if no one else picks it up.
@JohnSundell You mean like --argument-name value
? That did not cross my mind. I volunteer ✋.
@codeOfRobin Yeah exactly! That's awesome - all yours! 🚀
We now have Homebrew support, thanks to @codeOfRobin! 🎉 Just $ brew install swiftplate
🚀
Hey! Not sure how and if it could work, but would it be possible to install
SwiftPlate
via Homebrew? 👍