-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
feat: Support cargo pgx schema --skip-build
#255
Conversation
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
cargo pgx schema --ship-build
cargo pgx schema --ship-build
Signed-off-by: Ana Hobden <[email protected]>
cargo pgx schema --ship-build
cargo pgx schema --skip-build
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
Signed-off-by: Ana Hobden <[email protected]>
@bbigras this should improve our Nix support a bit. :) |
]; | ||
checkInputs = [ cargo-pgx cargo rustc ]; | ||
doCheck = true; | ||
|
||
postPatch = "patchShebangs ."; | ||
preConfigure = '' |
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.
Could it init only for the selected versions? It can wait.
I tagged the wrong lines.
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.
Ah, I was intending to try that here! I guess a future PR. 🤦♀️
This PR also refactors our nix stuff to support pg14 and handle the new SQL generation steps.
Here you can see a use where we have the schema generator run over the existing artifacts instead of do a fresh build: