gnome-shell-teatime/beautify-code.sh

9 lines
119 B
Bash
Raw Normal View History

#!/bin/sh
SRC_DIR=$(dirname $0)
echo $SRC_DIR
for fn in "${SRC_DIR}"/src/*.js ; do
js-beautify -t -n -r -j $fn
done