Skip to content

Commit

Permalink
Merge pull request #315 from timur-harin/fix_copyright
Browse files Browse the repository at this point in the history
Change years of files for copyright
  • Loading branch information
yegor256 authored May 19, 2024
2 parents 34ed405 + 96ea4a3 commit 1e745f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fixtures/jaxec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!--
The MIT License (MIT)
Copyright (c) 2023 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
2 changes: 1 addition & 1 deletion fixtures/jaxec/src/main/java/com/yegor256/Foo.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2023 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
2 changes: 1 addition & 1 deletion fixtures/jaxec/src/main/java/com/yegor256/Jaxec.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2023 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
3 changes: 2 additions & 1 deletion steps/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ while IFS= read -r file; do
copyright_check="true"
echo "⚠️ Copyright not found in file: $file"
fi
done < <(find "$LOCAL" -type f \( -name "*.sh" -o -name "*.py" -o -name "*.rb" \))
# avoid test-zone and unparseable folders
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)

if [[ "${copyright_check}" = "true" ]]; then
exit 1
Expand Down

0 comments on commit 1e745f2

Please sign in to comment.