Skip to content

Commit 0380a67

Browse files
committed
feat: add Cabal support
🌠 via haskell/cabal@7a4b0c5dbd Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
1 parent c6e954b commit 0380a67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

update

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env sh
2-
update='2023-10-08'
2+
update='2023-10-26'
33
IFS="$(command printf -- ' \t\n|')" && IFS="${IFS%'|'}"
44
command printf -- '\n\n .___ __\n __ ________ __\174 _\057____ _\057 \174_ ____\n\174 \174 \134____ \134 \057 __ \174\134__ \134\134 __\134\057 __ \134\n\174 \174 \057 \174_\076 \076 \057_\057 \174 \057 __ \134\174 \174 \134 ___\057\n\174____\057\174 __\057\134____ \174\050____ \057__\174 \134___ \076\n \174__\174 \134\057 \134\057 \134\057\n a Lucas Larson production\n\n' >&2 && command sleep 1
55
command printf -- '\360\237\223\241 verifying network connectivity' >&2
@@ -64,6 +64,8 @@ if command -v -- xcrun >/dev/null 2>&1; then
6464
else command printf -- 'no Xcode installation detected.\n\n' >&2; fi
6565
command printf -- '\342\232\233\357\270\217 checking for Atom installation...\n' >&2
6666
if command -v -- apm >/dev/null 2>&1; then command apm upgrade --no-confirm; else command printf -- 'no Atom installation detected.\n\n' >&2; fi
67+
command printf -- '\360\237\214\240 checking for Cabal installation...\n' >&2
68+
if command -v -- cabal >/dev/null 2>&1; then command cabal update --verbose; else command printf -- 'no Cabal installation detected.\n\n' >&2; fi
6769
command printf -- '\360\237\246\200 checking for Rust installation...\n' >&2
6870
if command -v -- rustup >/dev/null 2>&1; then command rustup --verbose update; else command printf -- 'no Rust installation detected.\n\n' >&2; fi
6971
command printf -- 'checking for npm installation...\n' >&2

0 commit comments

Comments
 (0)