Skip to content

Improve Makefile#478

Merged
fpseverino merged 22 commits intovapor:mainfrom
fpseverino:print
Mar 28, 2025
Merged

Improve Makefile#478
fpseverino merged 22 commits intovapor:mainfrom
fpseverino:print

Conversation

@fpseverino
Copy link
Copy Markdown
Member

@fpseverino fpseverino commented Mar 27, 2025

These changes are now available in 19.1.1

  • Add Makefile CI
  • Add SUDO flag to Makefile
  • Miscellaneous
    • Don't clone the template when calling --version
    • Remove update-homebrew workflow

Closes #393, closes #413, closes #469, closes #342

@fpseverino fpseverino requested review from 0xTim and gwynne as code owners March 27, 2025 14:25
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 40.53%. Comparing base (38f8549) to head (7d4357a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
Sources/VaporToolbox/Vapor.swift 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #478      +/-   ##
==========================================
+ Coverage   40.50%   40.53%   +0.02%     
==========================================
  Files           7        7              
  Lines         632      634       +2     
==========================================
+ Hits          256      257       +1     
- Misses        376      377       +1     
Files with missing lines Coverage Δ
Sources/VaporToolbox/Vapor.swift 73.33% <66.66%> (-0.64%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xTim 0xTim mentioned this pull request Mar 27, 2025

task.terminationHandler = { process in
guard process.terminationStatus == 0 else {
print("build.swift: Error in backgroundShell (\(args))")
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.

This will probably be useful for anyone else building on different systems 👍

@fpseverino fpseverino added the semver-patch Internal changes only. label Mar 27, 2025
@@ -1,26 +1,21 @@
DEST := /usr/local/bin/vapor
DEST ?= /usr/local/bin/vapor
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Normally we use DESTDIR

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Here it's the full path of the executable though, not just its directory

@fpseverino fpseverino merged commit dbe0d58 into vapor:main Mar 28, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Internal changes only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not request root access to install Make script fails if no version number found

3 participants