Mix just syntax with bash in a rule #880
Answered
by
casey
mihaigalos
asked this question in
Q&A
-
Hi there, What is standard practice for mixing in a just variable into bash in the following code?: build tool:
docker_image := docker_container_registry + "/" + {{tool}}
#! /bin/bash
docker build -t {{docker_image}} . Here, I would like to compose |
Beta Was this translation helpful? Give feedback.
Answered by
casey
Jun 24, 2021
Replies: 1 comment 5 replies
-
It currently isn't possible to create
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
mihaigalos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It currently isn't possible to create
just
variables inside a recipe. However, since you're using a shebang, you could do this: