Skip to content

Errors are now properly handled in build script#450

Merged
0xTim merged 7 commits intovapor:mainfrom
brandonmaul:main
Mar 20, 2024
Merged

Errors are now properly handled in build script#450
0xTim merged 7 commits intovapor:mainfrom
brandonmaul:main

Conversation

@brandonmaul
Copy link
Copy Markdown
Contributor

Solves #449

Solves issue where building from source would hang indefinitely

Makefile Outdated
DEST := /usr/local/bin/vapor

build:
swift build -c release
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
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