Skip to content
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

tuist - best way to pass args/env variable to tuist generate #121

Closed
ladislas opened this issue Mar 3, 2025 · 2 comments · May be fixed by ladislas/sweetpad#1
Closed

tuist - best way to pass args/env variable to tuist generate #121

ladislas opened this issue Mar 3, 2025 · 2 comments · May be fixed by ladislas/sweetpad#1

Comments

@ladislas
Copy link
Contributor

ladislas commented Mar 3, 2025

Following up on #119, we are using env variables to configure our tuist project with tuist generate.

For example:

TUIST_TURN_OFF_LINTERS=TRUE 				        \
TUIST_GENERATE_EXAMPLE_TARGETS=TRUE 				\
TUIST_GENERATE_MODULES_AS_FRAMEWORKS_FOR_DEBUG=TRUE \
tuist generate --no-binary-cache
@ladislas
Copy link
Contributor Author

ladislas commented Mar 4, 2025

part of my message was to not sent, sorry about that!

so my question was: using sweetpad, how can I set those TUIST_ variables to generate my project? Ideally I would like to be able to define different variable configurations.

In a C++/CMake based project, we are using something similar with cmake-variants.

https://github.com/microsoft/vscode-cmake-tools/blob/main/docs/variants.md

Maybe VSCode offers something similar, but I was not able to find that.

@hyzyla
Copy link
Collaborator

hyzyla commented Mar 8, 2025

This release is completly yours 0.1.55 🤩

Many thanks!

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 a pull request may close this issue.

2 participants