aboutsummaryrefslogtreecommitdiff
path: root/check
Commit message (Collapse)AuthorAgeFilesLines
* Use "shell" not "sh" consistentlyTom Ryder2017-10-312-4/+4
| | | | | I'm going to pretend this is a crucially important production fix, in order to try out the "hotfix" part of the "Git flow" workflow.
* Correct some vestigial programs to shell namesTom Ryder2017-10-311-1/+1
| | | | Just for consistency.
* Bring Xinit check/lint scripts up to standardTom Ryder2017-10-311-3/+6
| | | | | This makes them more consistent with the work already done on the check and lint scripts for the other targets.
* Inline check arguments for URxvt perlsTom Ryder2017-10-311-2/+1
| | | | | | There's no point making a list out of just one globbed item; we'll just inline it. That's also done for some of the other `check` scripts anyway.
* Check and lint URxvt Perls correctlyTom Ryder2017-10-311-3/+4
| | | | | | Require that the URxvt Perls are built correctly. There's only one at the moment, so I'll make that the single prerequisite for the `check-urxvt` target.
* Apply revisions to `check-zsh` target as wellTom Ryder2017-10-311-4/+8
| | | | I forgot about this one.
* Tidy and correct linting for all three shellsTom Ryder2017-10-313-18/+26
| | | | | | | | | | | | | Reduce each one to target only the dotfiles specifically for that shell, as opposed to previously where for example the `check-sh` target was checking shell shims in for `mpd` and `plenv`. I'm still not completely sure that's the right approach, but it's at least less conceptually muddy than what we had before. Notably, the check and lint for Korn shell includes a single POSIX shell script file in its `shrc.d` subdirectory, so that check is executed separately.
* Use shell name not command in check/lint messagesTom Ryder2017-10-311-3/+3
| | | | This is a little bit clearer and nicer to read, I think.
* Apply stable check and lint methods to games shellTom Ryder2017-10-311-2/+3
| | | | | | | | | | | | | This applies the same stable approach to testing the actual built games that are shebannged with #!/bin/sh as has been applied to the shell scripts in the `check-bin` and `lint-bin` targets. There are no GNU Bash games in these directories, so the latter block of code from the `bin` analogues to check or lint those is not needed. The same applies here; this is not as complete a checking or linting of the games directory as it could be; ideally we would check the sed(1) and awk(1) scripts too.
* Add conditional Bash `check-bin`, `lint-bin`Tom Ryder2017-10-311-0/+11
| | | | | | Both blocks are analogues of the POSIX checks, but are wrapped in a conditional so that bash(1) doesn't become a hard dependency of the default `make install` target.
* Correct misleading output for `lint-bin`Tom Ryder2017-10-311-1/+1
| | | | | We haven't checked all of the shell scripts, just the POSIX sh ones, which at present, is all but one of them; han(1df).
* Adjust `check-bin`, `lint-bin` for built scriptsTom Ryder2017-10-311-1/+1
| | | | | | | | | | | | | | | | Make the `$(BINS)` target a prerequisite of `check-bin` so that all of the scripts with a #!/bin/sh shebang are built, and then check them all by iterating through a glob (and hence an order according to LC_COLLATE) and stripping the `.sh` suffix to find the name of the matching shebanged script. Leverage `shellcheck`'s support of multiple check arguments to build an argument list of the binscripts first before passing all of those to a single call, simply for speed. We don't have anything in this target to test the scripts of any other type, such as the `.awk` or `.sed` scripts. `gawk` has a `--lint` mode that might apply.
* Update check/lint shTom Ryder2017-06-181-1/+7
|
* Remove Yash supportTom Ryder2017-05-242-7/+0
| | | | I never use it
* Add xinitrc.d script checksTom Ryder2017-04-091-0/+4
|
* Restructure shell install and checkTom Ryder2017-04-091-0/+12
|
* More sh flexibility (check/lint scripts)Tom Ryder2017-04-0512-43/+12
|
* Add zsh checkingTom Ryder2016-12-271-0/+6
|
* Rename all pdksh stuff to kshTom Ryder2016-12-172-6/+6
| | | | As part of a foray into more active use of ksh and derivatives.
* Add very basic Yash supportTom Ryder2016-08-311-0/+6
| | | | | | I know almost nothing about Yash yet, but reading the manual page on its startup behaviour implies a little coaxing is necessary to make it play nicely with my file layout.
* Build URxvt Perls with shb(1)Tom Ryder2016-08-311-1/+4
|
* Remove misplaced check targetTom Ryder2016-08-291-1/+1
|
* Move han(1) to be shebanggedTom Ryder2016-08-291-1/+1
|
* Put dotfiles manuals into their own sectionTom Ryder2016-08-261-1/+1
| | | | This probably contains a few mistakes
* Use saner approach to check/man file listingTom Ryder2016-08-231-12/+8
|
* Port all bash_profile.d scripts to POSIX shTom Ryder2016-08-201-1/+1
| | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff
* Include shrc.d in check-sh targetTom Ryder2016-08-171-1/+1
| | | | Quote a string entirely to appease shellcheck too
* Be explicit about check/man passingTom Ryder2016-08-171-0/+3
|
* Simplify a couple of printf callsTom Ryder2016-08-171-2/+2
|
* Check for executability before sh -nTom Ryder2016-08-162-2/+2
|
* Rename "test" targets to "check"Tom Ryder2016-08-167-0/+101
Mostly to make way for an actual test suite beyond mere syntax checking