We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ef698 commit 428ccf0Copy full SHA for 428ccf0
circle.yml
@@ -8,10 +8,10 @@ dependencies:
8
- ".crystal"
9
pre:
10
- |
11
- if [[ ! -e .crystal/bin/crystal || $(crystal --version | grep -P -o '\d+\.\d+\.\d+') != "${CRYSTAL_VERSION}" ]]; then
12
- mkdir .crystal
13
- wget "${CRYSTAL_URL}" -O crystal.tar.gz &&\
14
- tar -zxvf crystal.tar.gz -C .crystal --strip-components=1
+ if [[ ! -e "${HOME}/.crystal/bin/crystal" || $(crystal --version | grep -P -o '\d+\.\d+\.\d+') != "${CRYSTAL_VERSION}" ]]; then
+ mkdir "${HOME}/.crystal"
+ wget "${CRYSTAL_URL}" -O "${HOME}/crystal.tar.gz" &&\
+ tar -zxvf "${HOME}/crystal.tar.gz" -C "${HOME}/.crystal" --strip-components=1
15
fi
16
override:
17
- crystal deps
0 commit comments