Commit Graph

96 Commits

Author SHA1 Message Date
Vidar Holen 99e765ff34 Minor text modifications 2012-11-07 18:27:12 -08:00
Vidar Holen de31835676 Added reason in messages about subshells 2012-11-07 16:36:18 -08:00
Vidar Holen 7e3a20c14a Added a json interface 2012-11-06 21:55:46 -08:00
Vidar Holen 9ca7d57780 Renamed much of the ShellCheck.Simple interface 2012-11-06 13:26:25 -08:00
Vidar Holen e264f64266 Renamed from codename Shpell to final name ShellCheck. 2012-11-06 11:31:53 -08:00
Vidar Holen 45b98f408c Ditched the stunted concept and added better warnings 2012-11-05 20:50:00 -08:00
Vidar Holen a25cc75afa Check for attempted expansion in single quoted variables 2012-11-05 20:03:14 -08:00
Vidar Holen 0c0b386cf3 Warnings for unquoted positional parameters 2012-11-05 19:00:40 -08:00
Vidar Holen ce46defec8 Merged DollarVariable and DollarBraced, and made the $* test more general 2012-11-05 18:45:23 -08:00
Vidar Holen 90c1b63790 Added read/export as variable modifying commands for subshells 2012-11-05 18:33:45 -08:00
Vidar Holen e251e4a04f Made Makefile marginally less sucky 2012-11-05 17:37:48 -08:00
Vidar Holen c3f62aaad6 Revert ""modified" -> "set" for subshell var messages"
Yeah no it was better before
This reverts commit d2b258434d.
2012-11-05 10:30:36 -08:00
Vidar Holen da8ab3322c Added subshell variable detection cases 2012-11-05 10:29:39 -08:00
Vidar Holen d2b258434d "modified" -> "set" for subshell var messages 2012-11-05 10:29:06 -08:00
Vidar Holen 0fda08b36e Fixed missing Alive detection in current scope 2012-11-05 10:24:52 -08:00
Vidar Holen a14d0a8790 Basic subshell detection in place 2012-11-05 09:26:27 -08:00
Vidar Holen 5fef47a8d4 Added support for stack based analysis 2012-11-05 08:10:16 -08:00
Vidar Holen fb8e843717 Fixed position of &; message 2012-11-05 01:46:01 -08:00
Vidar Holen 1bf382e370 Less sentience 2012-11-05 01:42:36 -08:00
Vidar Holen ae175bbdf4 Show 'eof' instead of blank string in unexpected token messages 2012-11-05 01:39:37 -08:00
Vidar Holen 9140544176 I'm tired of seeing this garbage in the changelog 2012-11-05 01:34:06 -08:00
Vidar Holen 5de7a39f3e Added error for 2>&1 > lol 2012-11-05 01:32:36 -08:00
Vidar Holen af1517146e Upgraded for f in $(ls ..) to Error. I mean, come on. 2012-11-05 01:09:43 -08:00
Vidar Holen 7bc732b2a2 Added and fixed checkes related to "$@"/$* 2012-11-05 01:08:00 -08:00
Vidar Holen 98f5c48d47 Made lonely dollar not match $'..' 2012-11-05 00:25:58 -08:00
Vidar Holen 3f630d3faa Fixed irrelevant mixup in irrelevant command to make my joke better 2012-11-04 22:17:17 -08:00
Vidar Holen fdd2110437 Build shpell before running tests, in case of compiler errors 2012-11-04 22:15:06 -08:00
Vidar Holen 69183f6609 Added warning for a && b || c 2012-11-04 22:14:47 -08:00
Vidar Holen 67d27ea42d Tweaked some messages and added more badcases 2012-11-04 21:44:48 -08:00
Vidar Holen 279e972b61 For * in `ls` case now uses $(..) 2012-11-04 20:31:38 -08:00
Vidar Holen c6a05179e0 Added Makefile and horrifying test framework 2012-11-04 20:29:21 -08:00
Vidar Holen 4557f4acd3 Made tool seem less sentient 2012-11-04 19:42:53 -08:00
Vidar Holen e6edffa8d1 Fixed off by one preventing printing of last line 2012-11-04 19:42:32 -08:00
Vidar Holen a92598c372 Fixed up the wannabe unit tests 2012-11-04 19:36:38 -08:00
Vidar Holen 22ae83e372 Gave Parsec errors proper positioning info 2012-11-04 18:58:34 -08:00
Vidar Holen d5587dd104 Fixed the position of the 'then;' errors 2012-11-04 18:18:10 -08:00
Vidar Holen a7afa32075 Added some test cases, not all of which are supported yet 2012-11-04 18:10:51 -08:00
Vidar Holen cde1e2966f Minor reformatting 2012-11-04 18:07:46 -08:00
Vidar Holen 2f5a7be421 Added cute simplified API plus a CLI frontend 2012-11-04 18:02:51 -08:00
Vidar Holen 17633aa2a8 Moved analytics out of the ParsecT monad and into its own module 2012-11-04 16:20:11 -08:00
Vidar Holen 71a571b083 Moar errors 2012-11-04 00:32:54 -07:00
Vidar Holen 9bc0d57b14 Added warning for &; 2012-11-04 00:19:13 -07:00
Vidar Holen bc810e9eab Added check for using a file in the same pipeline as a redirect 2012-11-03 21:48:52 -07:00
Vidar Holen 54de7e7e1c Added warnings for then;, else; 2012-11-03 16:27:17 -07:00
Vidar Holen 041581b05f Rewrote the whole Annotation thing. Added quickCheck tests. 2012-11-03 16:11:12 -07:00
Vidar Holen dabc445202 Initial version 2012-11-03 09:32:09 -07:00