mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 14:23:53 -07:00
Add snapcraft config to enable building snaps
This commit is contained in:
parent
46fb91b44d
commit
ccc4bff9a0
1 changed files with 31 additions and 0 deletions
31
snapcraft.yaml
Normal file
31
snapcraft.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: shellcheck
|
||||||
|
version: '0.4.5+git'
|
||||||
|
summary: ShellCheck, a static analysis tool for shell script
|
||||||
|
description: |
|
||||||
|
ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh
|
||||||
|
shell scripts
|
||||||
|
|
||||||
|
grade: stable
|
||||||
|
confinement: classic
|
||||||
|
|
||||||
|
apps:
|
||||||
|
shellcheck:
|
||||||
|
command: shellcheck
|
||||||
|
|
||||||
|
parts:
|
||||||
|
shellcheck:
|
||||||
|
source: .
|
||||||
|
plugin: make
|
||||||
|
build-packages:
|
||||||
|
- cabal-install
|
||||||
|
- ghc
|
||||||
|
- libghc-json-dev
|
||||||
|
- libghc-mtl-dev
|
||||||
|
- libghc-parsec3-dev
|
||||||
|
- libghc-regex-tdfa-dev
|
||||||
|
- libghc-quickcheck2-dev
|
||||||
|
build: |
|
||||||
|
cabal update
|
||||||
|
install: |
|
||||||
|
cabal install
|
||||||
|
cp dist/build/shellcheck/shellcheck $SNAPCRAFT_PART_INSTALL
|
Loading…
Add table
Add a link
Reference in a new issue