mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-26 02:41:39 +08:00
snap: modern cabal
no longer have sandbox
subcommand
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This commit is contained in:
@@ -49,9 +49,8 @@ parts:
|
|||||||
mkswap /tmp/swap
|
mkswap /tmp/swap
|
||||||
swapon /tmp/swap
|
swapon /tmp/swap
|
||||||
|
|
||||||
cabal sandbox init
|
|
||||||
cabal update
|
cabal update
|
||||||
cabal install -j
|
cabal install -j
|
||||||
|
|
||||||
install -d "${CRAFT_PART_INSTALL}/usr/bin"
|
install -d "${CRAFT_PART_INSTALL}/usr/bin"
|
||||||
install .cabal-sandbox/bin/shellcheck "${CRAFT_PART_INSTALL}/usr/bin"
|
install ~/.cabal/bin/shellcheck "${CRAFT_PART_INSTALL}/usr/bin"
|
||||||
|
Reference in New Issue
Block a user