1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-17 10:10:24 +02:00

Merge pull request #89 from LeMagnesium/remove_whitespaces

Removing all whitespaces from our Lua files
This commit is contained in:
Ombridride 2015-06-11 15:51:57 +02:00
commit f2e4e54832
227 changed files with 1543 additions and 1525 deletions

View File

@ -0,0 +1,18 @@
#!/bin/bash
# Script to remove whitespaces from our repository's lua files
# Script ßý LeMagnesium, 2015
# (Note: You need this : https://github.com/LeMagnesium/mucro )
# Go to repo root
mydir="`dirname "$0"`"
test -d "$mydir" && cd "$mydir/../../"
# Get all lua file's names
luafiles=$(mucro '.lua'$ -r . -b)
sed -i 's/[ \t]*$//' $luafiles
# Done
echo `git status`
echo "Done"
#EOF