Skip to content

Commit

Permalink
Merge pull request #332 from timur-harin/fix_makefile_copyright
Browse files Browse the repository at this point in the history
Add Makefile check copyright
  • Loading branch information
yegor256 committed May 21, 2024
2 parents 595af54 + 02b345e commit 5b5e4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion steps/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ while IFS= read -r file; do
copyright_check="true"
echo "⚠️ Copyright not found in file: $file"
fi
done < <(find "$LOCAL" \( -path "$LOCAL/fixtures/filters/unparseable" -prune \) -o \( -path "$LOCAL/test-zone" -prune \) -o -type f \( -name "*.sh" -o -name "*.py" -o -name "*.rb" -o -name "*.java" -o -name "*.xml" \) -print)
done < <(find "$LOCAL" \( -path "$LOCAL/fixtures/filters/unparseable" -prune \) -o \( -path "$LOCAL/test-zone" -prune \) -o -type f \( -name "*.sh" -o -name "*.py" -o -name "*.rb" -o -name "*.java" -o -name "*.xml" -o -name "Makefile" \) -print)
if [[ "${copyright_check}" = "true" ]]; then
exit 1
fi
2 changes: 1 addition & 1 deletion tex/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License (MIT)
#
# Copyright (c) 2020-2022 Yegor Bugayenko
# Copyright (c) 2021-2024 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 5b5e4f5

Please sign in to comment.