Skip to content

Commit

Permalink
Ensure that all code lines are shorter than 72 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Aug 12, 2024
1 parent 43ef5d4 commit 1ec7e17
Show file tree
Hide file tree
Showing 4 changed files with 1,762 additions and 1,199 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all base clean implode dist test force \
docker-image docker-push-temporary-tag docker-print-temporary-tag \
docker-push-release-tag preview
docker-push-release-tag preview check-line-length

SHELL=/bin/bash

Expand Down Expand Up @@ -276,3 +276,7 @@ implode: clean
rm -f $(MAKEABLES) $(ARCHIVES)
$(MAKE) -C examples implode
$(MAKE) -C libraries implode

# This pseudo-target checks that the length of lines in the source files.
check-line-length: $(INSTALLABLES)
! grep -En '^.{73,}$$' $^
6 changes: 3 additions & 3 deletions docstrip.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
-- permit persons to whom the Software is furnished to do so, subject to^^J%
-- the following conditions:^^J%
--^^J%
-- The above copyright notice and this permission notice shall be included^^J%
-- in all copies or substantial portions of the Software.^^J%
-- The above copyright notice and this permission notice shall be^^J%
-- included in all copies or substantial portions of the Software.^^J%
--^^J%
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,^^J%
-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF^^J%
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.^^J%
-- MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE AND NONINFRINGEMENT.^^J%
-- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY^^J%
-- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,^^J%
-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE^^J%
Expand Down
Loading

0 comments on commit 1ec7e17

Please sign in to comment.