mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
Add CONTRIBUTORS generation, and migrate CONTRIBUTORS file to said format.
This commit is contained in:
@@ -1 +1,3 @@
|
|||||||
quinnthepigeon@proton.me Quinn
|
# This file is generated by `make CONTRIBUTORS`, if editing manually, keep it sorted.
|
||||||
|
# List of all contributors of the project:
|
||||||
|
Quinn <quinn@thepigeongenerator.xyz>
|
||||||
|
|||||||
7
Makefile
7
Makefile
@@ -82,6 +82,13 @@ clean:
|
|||||||
-$(Q)$(RM) $(OBJ) $(DEP)
|
-$(Q)$(RM) $(OBJ) $(DEP)
|
||||||
-$(Q)$(RM) -r bin/
|
-$(Q)$(RM) -r bin/
|
||||||
|
|
||||||
|
PHONY += CONTRIBUTORS
|
||||||
|
CONTRIBUTORS:
|
||||||
|
$(Q)printf "# This file is generated by \`make $@\`, if editing manually, keep it sorted.\n" >CONTRIBUTORS~
|
||||||
|
$(Q)printf "# List of all contributors of the project:\n" >>CONTRIBUTORS~
|
||||||
|
$(Q)git log --format='%aN <%aE>%n%cN <%cE>' | sort -u >>CONTRIBUTORS~
|
||||||
|
$(Q)mv CONTRIBUTORS~ CONTRIBUTORS
|
||||||
|
|
||||||
# Links together the object files into the final binary.
|
# Links together the object files into the final binary.
|
||||||
bin/$(NAME): $(OBJ) | bin/
|
bin/$(NAME): $(OBJ) | bin/
|
||||||
$(Q)$(call msg,LD,$@)
|
$(Q)$(call msg,LD,$@)
|
||||||
|
|||||||
Reference in New Issue
Block a user