10000 feat(codegen): Allow plugins to access environment variables by kyleconroy · Pull Request #2669 · sqlc-dev/sqlc · GitHub
[go: up one dir, main page]

Skip to content

feat(codegen): Allow plugins to access environment variables #2669

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

Merged
merged 7 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change test out
  • Loading branch information
kyleconroy committed Aug 29, 2023
commit e926e9de4e654b82c6748f5656f5e425471c3b2c

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"process": "sqlc-gen-test"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"env": [
"SQLC_VERSION=v1.20.0",
"SQLC_DUMMY_VALUE=true"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"codegen": [
{
"out": "gen",
"plugin": "env"
"plugin": "test"
}
]
}
],
"plugins": [
{
"name": "env",
"name": "test",
"env": ["SQLC_DUMMY_VALUE"],
"process": {
"cmd": "sqlc-gen-env"
"cmd": "sqlc-gen-test"
}
}
]
Expand Down
0