Skip to content
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

Errors are now properly handled in build script #450

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Conversation

brandonmaul
Copy link
Contributor

Solves #449

Solves issue where building from source would hang indefinitely

Makefile Outdated
@@ -1,6 +1,7 @@
DEST := /usr/local/bin/vapor

build:
swift build -c release
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? Seems a bit redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found that if I just built it without the release flag, it defaulted to debug.

Which ultimately changed the output folder.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, sorry I mean why are we doing a build here at all? The build.swift script is the one doing the build

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! Duh. Apologies, should be fixed up now.

@brandonmaul brandonmaul requested a review from 0xTim March 14, 2024 02:37
@0xTim 0xTim linked an issue Mar 15, 2024 that may be closed by this pull request
Copy link
Member

@0xTim 0xTim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@0xTim 0xTim merged commit fa5cc08 into vapor:main Mar 20, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building from source hangs indefinitely
2 participants