[hackers] [skvm] removed format.sh. || Dimitrios Papastamos <stateless [at] archlinux.us>

From: <hg_AT_suckless.org>
Date: Tue, 2 Feb 2010 12:34:25 +0000 (UTC)

changeset: 27:da336637b8a7
tag: tip
user: Dimitrios Papastamos <stateless [at] archlinux.us>
date: Tue Feb 02 12:34:21 2010 +0000
files: HACKING format.sh
description:
removed format.sh.

diff -r bea4efeb7e4f -r da336637b8a7 HACKING
--- a/HACKING Tue Feb 02 12:32:47 2010 +0000
+++ b/HACKING Tue Feb 02 12:34:21 2010 +0000
@@ -2,7 +2,6 @@
 =============================
 
 If you plan to hack this code, please follow the coding conventions
-used in the current code. Use format.sh and the latest version of astyle
-to format the code. This project does not aim to be portable as it is
+used in the current code. This project does not aim to be portable as it is
 mainly used on GNU/Linux. Make sure the code is secure as skvm is meant
 to execute as root.
diff -r bea4efeb7e4f -r da336637b8a7 format.sh
--- a/format.sh Tue Feb 02 12:32:47 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-i=0
-for file in $(find . -maxdepth 2 -type f -iname "*.cpp" -or -iname "*.hpp" -or -iname "*.h" -or -iname "*.c"); do
- astyle --options=.astylerc $file | grep -i "formatted"
- if [ $? -eq 0 ]; then
- let i=i+1
- fi
-done
-
-if [ $i -gt 0 ]; then
- echo "Beautified" $i "files."
-else
- echo "The source tree has been left unchanged, no source formatting needs to be done."
-fi
Received on Tue Feb 02 2010 - 12:34:25 UTC

This archive was generated by hypermail 2.2.0 : Tue Feb 02 2010 - 12:36:13 UTC