-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
marathon-swift 1.0.1 (new formula) #17266
Conversation
Ah dang, I thought that linter error was just me setting up my local dev env wrong. Interesting, will discuss with the maintainers about naming. |
758a8b8
to
14e82e8
Compare
Awesome, we're green 👍 |
Formula/marathon-swift.rb
Outdated
depends_on :xcode => ["8.3", :build] | ||
|
||
def install | ||
ENV["SDKROOT"] = MacOS.sdk_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is set automatically.
Formula/marathon-swift.rb
Outdated
@@ -0,0 +1,27 @@ | |||
class MarathonSwift < Formula | |||
desc "Makes it easy to write, run and manage your Swift scripts 🏃" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave out the emoji
Formula/marathon-swift.rb
Outdated
system "swift", "build", "-c", "release", "-Xswiftc", "-static-stdlib" | ||
end | ||
|
||
bin.install ".build/release/marathon" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please request a make install
upstream.
Formula/marathon-swift.rb
Outdated
end | ||
|
||
test do | ||
system "#{bin}/marathon", "help" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be a test that exercises and verifies the functionality of the software once installed.
80c1538
to
5934eb1
Compare
3063c49
to
fcdcff1
Compare
@ilovezfs - I've shipped ~10 force-commits to address your feedback, but do you know if there's anything unique about the Sierra and using the PREFIX?=/usr/local
INSTALL_NAME = marathon
# [...]
install_bin:
mkdir -p $(PREFIX)/bin
mv .build/Release/Marathon .build/Release/$(INSTALL_NAME)
/usr/bin/install -s -m 0755 .build/Release/$(INSTALL_NAME) $(PREFIX)/bin But it only fails on Sierra, and when I tried using |
@ilovezfs this is now green 👍 |
Polite Poke |
Thanks for your first contribution to Homebrew @orta! Without people like you submitting PRs we couldn't run this project. You rock! |
No - you rock - thanks! |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?Adds Marathon: https://github.com/JohnSundell/Marathon