Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View herderwu's full-sized avatar
🎯
Focusing

herder wu herderwu

🎯
Focusing
View GitHub Profile
@herderwu
herderwu / pre-commit
Created September 19, 2017 03:58 — forked from yszheda/pre-commit
svn pre-commit hook to check lua syntax errors, check lua global vars, and prevent committing large png
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the path to this repository)