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

ci: harmonize amm-template.sh script with mill script #1580

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cmontemuino
Copy link

PROBLEM: amm-template.sh is downloading the ammnite executable into ${HOME}/.ammnite/download. It is not necessarily wrong, but does not follow the same pattern as in mill script. Having an harmonized way to keep downloaded data is always preferred.

SOLUTION: adopt the mechanism from mill script to download files, which also takes into account the existence of ${XDG_CACHE_HOME} variable.

closes #1579

PROBLEM: `amm-template.sh` is downloading the ammnite executable into
`${HOME}/.ammnite/download`. It is not necessarily wrong, but does not
follow the same pattern as in `mill` script. Having an harmonized way to
keep downloaded data is always preferred.

SOLUTION: adopt the mechanism from `mill` script to download files,
which also takes into account the existence of `${XDG_CACHE_HOME}`
variable.

Signed-off-by: cmontemuino <[email protected]>
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 this pull request may close these issues.

Harmonize AMM_DOWNLOAD_PATH from amm-template.sh with MILL_DOWNLOAD_PATH from mill script
1 participant