Vidar Holen
c9b8ad3439
Drop attoparsec/text dependencies
2023-10-08 18:16:09 -07:00
hololeap
dfa920c5d2
Switch to attoparsec for gentoo scan
...
Signed-off-by: hololeap <hololeap@users.noreply.github.com>
2023-08-05 17:38:01 -06:00
hololeap
fc9b63fb5e
Remove PortageAutoInternalVariables and python
...
The Gentoo eclass list is now populated using pure Haskell. The old
python generators and generated module are no longer needed.
Signed-off-by: hololeap <hololeap@users.noreply.github.com>
2023-08-05 15:31:15 -06:00
hololeap
272ef819b9
Scan for Gentoo eclass variables
...
Creates a Map of eclass names to eclass variables by scanning the
system for repositories and their respective eclasses. Runs `portageq`
to determine repository names and locations. Emits a warning if an
IOException is caught when attempting to run `portageq`.
This Map is passed via CheckSpec to AnalysisSpec and finally to
Parameters, where it is read by `checkUnusedAssignments` in order to
determine which variables can be safely ignored by this check.
Signed-off-by: hololeap <hololeap@users.noreply.github.com>
2023-08-05 15:31:15 -06:00
hololeap
08ae7ef836
New IO interface to scan for Gentoo eclass vars
...
Uses the `portageq` command to scan for repositories, which in turn are
scanned for eclasses, which are then scanned for eclass variables.
The variables are scanned using a heuristic which looks for
"# @ECLASS_VARIABLE: "
at the start of each line, which means only properly documented
variables will be found.
Signed-off-by: hololeap <hololeap@users.noreply.github.com>
2023-08-04 17:19:05 -06:00
Matt Jolly
e3d8483e49
Rebase of chromiumos fork
...
https://chromium.googlesource.com/chromiumos/third_party/shellcheck/
2023-08-04 15:56:48 -06:00
Joseph C. Sible
b3932dfa10
Fix #2734 : adjust bounds to compile on 9.6
...
The whole test suite passes for me, including prop_checkOverwrittenExitCode8,
and I get the same set of findings with this build and shellcheck.net on
tools/testing/selftests/net/icmp_redirect.sh.
2023-05-01 00:02:53 -04:00
Vidar Holen
2842ce97b8
Remove fgl-5.8.1.0 as a dependency
...
ShellCheck is temporarily broken by
c8f56c1824
2023-02-04 11:38:20 -08:00
Vidar Holen
a526ee0829
Stable version 0.9.0
...
This release is dedicated to Mindustry: the most fun you can
have with open source (outside of shell scripting of course).
2022-12-12 21:49:19 -08:00
Vidar Holen
a7c5be93dc
Tighten bounds on packages
2022-12-11 19:22:21 -08:00
Vidar Holen
2a16a4e8c1
Add missing imports for later GHC versions
2022-12-10 15:17:08 -08:00
Vidar Holen
f77a545282
Control Flow Graph / Data Flow Analysis support
2022-07-20 08:08:24 -07:00
Vidar Holen
e5ad4cf420
Stable version 0.8.0
...
This release is dedicated to dibblego, who pushed me down the Haskell
rabbit hole. In 2006 I thought you were crazy. Today I *know* you are.
2021-11-06 22:12:39 -07:00
Jens Petersen
ab369a35c9
move readme to extra-doc-files and add changelog to releases
2021-05-18 11:10:17 +08:00
Vidar Holen
2f26600653
Update Cabal version for Hackage
2021-04-19 17:36:53 -07:00
Vidar Holen
cff3e22911
Stable version v0.7.2
...
This release is dedicated to ethanol, for keeping
COVID-19 off both our hands and our minds.
2021-04-19 14:44:27 -07:00
Vidar Holen
f7547c9a5a
Stable version v0.7.1
...
This release is dedicated to the board game Pandemic, for teaching us
relevant survival skills like how to stay inside and play board games.
2020-04-04 18:38:39 -07:00
Joseph C. Sible
9f833770b0
Mark that base >= 4.8.0.0 is required
...
We've actually already required base >= 4.8.0.0 since commit a8376a0
(in which we first used `<$>` without an import, which wasn't in the Prelude prior to this version). Since then, we've also made use of other more substantial features that de-facto require base >= 4.8.0.0 since they require GHC 7.10, such as `DeriveAnyClass`.
2020-03-19 21:31:10 -04:00
Vidar Holen
2c026f1ec7
Support Cabal 3. Man page no longer autobuilds.
2019-11-16 11:06:18 -08:00
Vidar Holen
b7b4d5d29e
Stable version 0.7.0
...
This release is dedicated to RetroArch: the second best way to make your
PC feel like a 16bit system (right after building ShellCheck with GHC)
2019-07-28 18:12:25 -07:00
Vidar Holen
bee4303c32
Add an empty Custom.hs to simplify site-specific patching
2019-07-02 20:07:05 -07:00
Vidar Holen
b1aeee564c
Add a Diff output format
2019-06-23 20:02:01 -07:00
Vidar Holen
1297ef46d7
Add JSON1 as a separate format, wrap result in an object
2019-06-02 10:28:37 -07:00
Vidar Holen
b456987b84
Add the minimum version of 'directory'
2019-03-06 19:19:00 -08:00
Vidar Holen
581bcc3907
Add support for .shellcheckrc
files
2019-03-03 18:57:13 -08:00
Gandalf-
a89403f09b
Issue 1393 quiet flag
...
Issue https://github.com/koalaman/shellcheck/issues/1393
Provide '-q' and '--quiet' flags that suppress all normal output, but keep the
return status, similar to 'grep -q'.
2019-01-21 18:25:41 -08:00
Vidar Holen
434b904746
Process replacements according to AST depth ( fixes #1431 )
2019-01-08 18:25:37 -08:00
Vidar Holen
eb3e6fe8e1
Add ShellCheck.Fixer to the cabal file
2018-12-17 20:14:49 -08:00
Vidar Holen
bcd13614eb
Improve Fix memory usage
2018-12-09 15:01:08 -08:00
Vidar Holen
cb57b4a74f
Stable version 0.6.0
...
This release is dedicated to Factorio. If this is how much fun it is to
build factories and oppress natives, then history makes a lot of sense.
2018-12-02 19:08:06 -08:00
Vidar Holen
e3f0243c0e
Add 'striptests' script to Cabal package
2018-12-02 19:08:06 -08:00
Peter Simons
8940e60300
ShellCheck.cabal: our Setup.hs works fine with Cabal 2.4.x
2018-09-27 17:32:45 +02:00
Vidar Holen
a3be776f80
Stable version 0.5.0
...
This release is dedicated to Valve for keeping PC gaming awesome.
Also, for that time they proved the need for a tool like ShellCheck.
2018-05-31 20:01:42 -07:00
Ng Zhi An
08235a1cb2
Change to aeson ( fixes #1085 )
...
Adds bytestring as a dependency for putStrLn encoded values.
2018-05-06 16:07:53 -07:00
Vidar Holen
ce7658ed86
Merge pull request #1168 from vmchale/master
...
Bump to ghc 8.4.1
2018-04-22 14:10:25 -07:00
Vidar Holen
32af2783f0
Allow stripping unit tests
2018-04-02 21:14:23 -07:00
Vanessa McHale
cf39adff75
bump to latest ghc
2018-04-02 11:44:18 -05:00
Vidar Holen
da4072a118
Blacklist base 4.6.0.1 to disable GHC 7.6.3 ( #1131 )
2018-03-29 21:41:00 -07:00
Oleg Grenrus
cd7c077ecc
Move library into src/
2018-03-08 19:57:40 +02:00
Oleg Grenrus
b33607b048
Add custom-setup stanza and containers lowerbound
...
custom-setup:
- http://cabal.readthedocs.io/en/latest/developing-packages.html#custom-setup-scripts
- https://www.well-typed.com/blog/2015/07/cabal-setup-deps/
Bounds:
- containers-0.5 is required if Data.Map.Strict
- parsec-3.0 for Text.Parsec
- json-0.3.6 for makeObj
2018-03-08 19:35:50 +02:00
Mike Frysinger
161801a86e
convert http:// URIs to https://
...
Also update the ShellCheck homepage to the new dedicated domain.
2017-12-14 01:06:43 -05:00
Vidar Holen
c36f6d89ba
Stable version 0.4.7
...
This release is dedicated to net neutrality. Remember when the Internet
was a meritocracy? [Please drink a verification can to continue.]
2017-12-08 20:29:12 -08:00
Vidar Holen
3413a076ff
Cabal: Don't make executables depend on library
2017-11-05 20:51:39 -08:00
Vidar Holen
08d1d37094
Stable version 0.4.6
...
This release is dedicated to Stardew Valley, for fixing the Harvest Moon
unplayable issue where Ann gives up on her inventions after marriage ;_;
2017-03-26 11:48:27 -07:00
Vidar Holen
08f7ff37c5
Some cleanup and refactoring.
2016-11-12 15:51:36 -08:00
Vidar Holen
5efb724a3e
Stable version 0.4.5
...
This release is dedicated to Google Inc for four great years of
employment and being good sports about hobby projects like this.
2016-10-21 14:00:50 -07:00
Vidar Holen
47fd16b8e8
Stable version 0.4.4
...
This release is dedicated to AlphaGo.
The second golden age of AI is upon us!
2016-05-15 13:53:37 -07:00
Vidar Holen
db0c8c2dc9
Separate out command specific checks.
...
The checks use a better interface and give
an overall speed boost of 10%.
2016-04-10 17:01:40 -07:00
Vidar Holen
a21df2d88f
Stable version 0.4.3
...
This is purely a bugfix bump that works on GHC 7.6.3,
as currently found in Debian stable and Ubuntu LTS.
2016-01-13 16:54:54 -08:00
Vidar Holen
d473fb8867
Use system over callCommand to allow linking on ghc 7.6.3.
2016-01-13 14:10:21 -08:00