We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be useful to have a dictionary to group related variables/values, either statically or dynamically.
For example:
$(call dict.put,DEPLOY,env,prod) $(call dict.put,DEPLOY,service,accounts) $(call dict.put,DEPLOY,host,accounts.my-cool-product.com) $(call dict.put,DEPLOY,gpg-key,992443840122) $(call dict.put,BUILD,arch,x86_64) $(call dict.put,BUILD,dir,/tmp/my-app/build)
It can, of course, be provided to work as a target:
define-config : dict.put( DEPLOY,env,prod ) define-config : dict.put( DEPLOY,service,accounts ) define-config : dict.put( DEPLOY,host,accounts.my-cool-product.com ) define-config : dict.put( DEPLOY,gpg-key,992443840122 ) deploy : define-config deploy : /usr/bin/deploy \ --env $(call dict.get,DEPLOY,env) \ --server $(call dict.get,DEPLOY,service) \ $(call dict.get,DEPLOY,host)
The text was updated successfully, but these errors were encountered:
bahmanm
Successfully merging a pull request may close this issue.
It would be useful to have a dictionary to group related variables/values, either statically or dynamically.
For example:
It can, of course, be provided to work as a target:
The text was updated successfully, but these errors were encountered: