repo.or.cz
/
gmpc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update vala version.
[gmpc.git]
/
scripts
/
gmpc-vala-style.sh
blob
77c0e7e4062145f5a125220c7c0b0dffa606477c
1
#! /bin/sh
2
3
astyle
-A1 -N -S -n
"$@"
4
sed
-i -r
\
5
-e
'/CCode/s/ *= */ = /g'
\
6
-e
'/CCode/s/ *, */, /g'
\
7
-e
'/CCode/s/[
\t
]+\]/]/g'
\
8
-e
'/CCode/s/\[[
\t
]+/[/g'
\
9
-e
'/CCode/s/\([
\t
]+/(/g'
\
10
-e
'/CCode/s/[
\t
]+\)/)/g'
\
11
"$@"