diff options
author | nodiscc <nodiscc@gmail.com> | 2016-08-22 10:07:58 +0000 |
---|---|---|
committer | Edward D <ed.kickball@hotmail.com> | 2016-08-22 10:07:58 +0000 |
commit | 46c13d14c950faf69b67e9b9e105471b6877fbf5 (patch) | |
tree | ceaecd8c5673caa7244cc0edb40b433df1adbb31 /Makefile | |
parent | added OpenGTS to Maps & GPS section (#662) (diff) | |
download | awesome-selfhosted-46c13d14c950faf69b67e9b9e105471b6877fbf5.tar.gz awesome-selfhosted-46c13d14c950faf69b67e9b9e105471b6877fbf5.zip |
Some additions and fixes (#669)
* add moped
* add mopidy-party and mopidy musicbox
* contributing: add note about alphabetical order
* add ympd
* makefile: add listlicenses target
lists all license fields in README.md
* misc license/format fixes
* license *before* language
* simplify licenses version numbers
* remove 20euros (no license)
* move gazelle to non-free (non commercial restriction https://github.com/WhatCD/Gazelle/blob/master/docs/COPYING.txt)
* license fixes, remove gaskit
(no activity ~4 years https://github.com/bkeepers/gaskit/branches)
* license fixes, remove webalizer
(unmaintained, last modification date in source .tgz is 2013)
* makefile: add longdescriptions target
finds all descriptions longer than 250 characters
* makefile: only search for licenses and long descriptions between actual list beginning/end
* makefile: add syntaxerrors target (currently detects weird pairings like )(, `` )
add more tests to main makefile target
* makefile: fail if invalid content is found
* re-add untrusted to non-free.md (non-commercial license)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 28 |
1 files changed, 20 insertions, 8 deletions
@@ -2,20 +2,32 @@ SHELL = /bin/bash all: checks -checks: missinglicenselanguage nofullstop +checks: nolicenselanguage nofullstop longdescriptions syntaxerrors noexternallink: - @echo "Lines with no source/demo/other link:" + @echo -e "\nLines with no source/demo/other link:" @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep --color=always '[a-z\.] `' -missinglicenselanguage: - @echo "Lines with only 1 or no language/license entry:" - @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep -v '` `' +nolicenselanguage: + @echo -e "\nLines with only 1 or no language/license entry:" + @! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '^ *\* ' | egrep -v '` `' nofullstop: - @echo "Lines without a full stop after description:" - -@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] \(\[' - -@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] `' + @echo -e "\nLines without a full stop after description:" + @! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] \(\[' + @! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '[a-z] `' + +longdescriptions: + @echo -e "\nDescriptions exceeding 250 chars:" + @! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '\) - [Aa-Zz|.|\(|\)|/| |,|-]*\s\(\[' README.md | grep '.\{257\}' + +listlicenses: + @echo -e "\nList of licenses:" + @sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' README.md | sort --unique + +syntaxerrors: + @echo -e "\n Syntax errors:" + @! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``' contrib: @git shortlog -sne |