updated licensing and added submodules hook

This commit is contained in:
Emma Tebibyte 2023-03-10 14:24:35 -05:00
parent e0087cd8eb
commit f1a7a4797a
Signed by: emma
GPG Key ID: 6D661C738815E7DD
4 changed files with 15 additions and 11 deletions

View File

@ -1,4 +0,0 @@
# git hooks
All of the files in this repository are licensed under the [GNU All-Permissive
License](https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)

View File

@ -1,8 +1,7 @@
#!/bin/sh
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and this
# notice are preserved. This file is offered as-is, without any warranty.
# This work is marked with CC0 1.0. To view a copy of this license, visit
# <http://creativecommons.org/publicdomain/zero/1.0>
# Hook to compile Rust source files when they have been changed.

View File

@ -1,10 +1,9 @@
#!/bin/sh
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice and this
# notice are preserved. This file is offered as-is, without any warranty.
# This work is marked with CC0 1.0. To view a copy of this license, visit
# <http://creativecommons.org/publicdomain/zero/1.0>.
# Hook to generate & add .SRCINFO to AUR PKGBUILD commits.
# Git hook to generate & add .SRCINFO to AUR PKGBUILD commits.
makepkg --printsrcinfo > .SRCINFO
git add .SRCINFO

10
pre-commit/submodules Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# This work is marked with CC0 1.0. To view a copy of this license, visit
# <http://creativecommons.org/publicdomain/zero/1.0>.
# Git hook to update submodules to their latest versions before committing
# changes, good for monorepos constructed from various other repositories.
git submodule foreach 'git pull'
git add