[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
applying astyle on commit
From: |
Maarten de Boer |
Subject: |
applying astyle on commit |
Date: |
Thu, 19 Apr 2001 18:47:33 +0200 |
Hello,
We use some strict rules on code layout, but of course
people sometimes make mistakes. Luckily, astyle does a
great job in layouting automatically. So I would like
to apply astyle on all the code that is commited to the
repository, so the code inside the repository is always
correct. People would only have to do an update after to
commit to get the formatted version.
So my question is: how can I do this? Doing it client
side is not really an option, because we use different
platforms, and besides, doing it server-side assures
correct usage of astyle.
Kind regards,
Maarten
- applying astyle on commit,
Maarten de Boer <=