Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #56
Move
PGBuild.target
andPGBuild.optimize
toPGBuild.options
struct.Introduce
PGBuild.modules
struct to load a the exported modules via simple function calls likepgbuild.modules.pgzx()
.Rename
Run
toRunExec
to better indicate what that step does.Simplify addRegress by removing the RunRegress type.
Introduce
addExtensionLib
to the shared lib to compile without installing it right away. This allows users to modify/use the lib with other targets that are not required to install the extension. For example a check target or build source documentation without linking and installation.Introduce
Project
to combine the meta-data into a common type that can be used to create the different project resources within the build script. E.g. In order to create build/check/docs only steps one is required to redeclare the extension library to have an independent resource. Using theProject
type we can useproj.extensionLib
to create multiple instance of the build configuration (including dependencies).Update the example build scripts:
Project
type.zig build check
command that compiles and type checks, but ommits LLVM and linking. Use with ZLS to improve developer experience like: https://kristoff.it/blog/improving-your-zls-experience/