aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2018-05-12 23:03:21 +0000
committernodiscc <nodiscc@gmail.com>2018-05-12 23:03:21 +0000
commit69e42a98f76ac3fc3be9f43e7c2e2b7a5be111c7 (patch)
treece0cd9c234bf372c4d208f4cc23805daabe47b22
parentrefactor CONTRIBUTING.md and PULL_REQUEST_TEMPLATE.md (diff)
downloadawesome-selfhosted-69e42a98f76ac3fc3be9f43e7c2e2b7a5be111c7.tar.gz
awesome-selfhosted-69e42a98f76ac3fc3be9f43e7c2e2b7a5be111c7.zip
dangerfile, makefile: add documentation links, intentation fixes
-rw-r--r--Dangerfile7
-rwxr-xr-xMakefile2
2 files changed, 6 insertions, 3 deletions
diff --git a/Dangerfile b/Dangerfile
index 86adae6c..115931df 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,4 +1,7 @@
-#Check for changes to README.md
+# Danger CI configuration file
+# https://danger.systems/guides/getting_started.html
+
+# Check for changes to README.md
has_readme_changes = git.modified_files.include?("README.md")
# Ensure there is a summary for a pull request
@@ -8,7 +11,7 @@ fail 'Please provide a summary in the Pull Request description' if github.pr_bod
warn 'Please check PR guidelines and check the boxes.' if github.pr_body.include? '- [ ]'
# Warn if pull request is not updated
-warn 'Please update the Pull Request title to contain the script name' if github.pr_title.include? 'Update README.md'
+warn 'Please provide a descriptive title for the Pull Request' if github.pr_title.include? 'Update README.md'
# Warn when there are merge commits in the diff
warn 'Please rebase to get rid of the merge commits in this Pull Request' if git.commits.any? { |c| c.message =~ /^Merge branch 'master'/ }
diff --git a/Makefile b/Makefile
index 4886ccea..d5676eaf 100755
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ listlicenses:
@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:"
+ @echo -e "\nSyntax errors:"
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' README.md | egrep '\)\(|``|\)`'
contrib: