Skip to content

Commit 5ceac8f

Browse files
committed
add fmt script
1 parent f52bfd0 commit 5ceac8f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

scripts/fmt.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
DIR=`dirname $0`
4+
ROOT=$DIR/..
5+
6+
# Format code in project.
7+
8+
perltidy \
9+
-l=79 \
10+
-b -bext='/' \
11+
$ROOT/example.pl \
12+
$ROOT/Geo-IPinfo/t/* \
13+
$ROOT/Geo-IPinfo/lib/Geo/*

0 commit comments

Comments
 (0)