diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-17 01:51:27 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-17 01:51:27 +0800 |
commit | 36c43d168d564fe311974efa6f6ac322afcf71d6 (patch) | |
tree | 8f2811c6d4439c8bfe1908dd0ef022e66ed9f116 /git_hooks_client/Makefile | |
parent | resources.go: Embed git_hooks_client/* (diff) | |
download | forge-36c43d168d564fe311974efa6f6ac322afcf71d6.tar.gz forge-36c43d168d564fe311974efa6f6ac322afcf71d6.tar.zst forge-36c43d168d564fe311974efa6f6ac322afcf71d6.zip |
git_hooks_client: Splice stdin
Requires stdin to be a pipe. So `cat | ./git_hooks_client` works while
`./git_hooks_client` in a terminal directly does not (character devices
are not pipes).
Diffstat (limited to 'git_hooks_client/Makefile')
-rw-r--r-- | git_hooks_client/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git_hooks_client/Makefile b/git_hooks_client/Makefile index 0dd283e..f8f2c50 100644 --- a/git_hooks_client/Makefile +++ b/git_hooks_client/Makefile @@ -1 +1,3 @@ +CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE + git_hooks_client: |