Skip to content

libft/template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[name]

Contributing

Any PR is welcome if below kept

pre-commit hook

Run init.sh to initialize git pre-commit hook.

bash init.sh

Note: POSIX shell is not supported. use bash instead.

It will copy hooks/pre-commit.sh into .git/hooks/pre-commit, and set execute permission on it.

remove 42 header

File history managed by VCS.

Just let VCS handle it, and stop polluting history :)

This pre-commit script will remove 42 header from Makefile and *.{c,h,sh,mk} files

Alternative: run shell command below before every commit, or never touch 42 header

find . -name '*.c' -o -name "*.h" -o -name "*.sh" -o -name "*.mk" -o -name "Makefile" \
| xargs -L1 sh hooks/scripts/42header-remover.sh

dependencies

It will automatically download Github release assets for dependencies described in the ft_header_deps.properties file.

After change dependencies, please run build/script/init-header-deps.sh manually.

About

libft repositories' template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published