astrognome/src/gen-dir-locals-el.sh

10 lines
205 B
Bash
Raw Normal View History

#! /bin/sh
(echo -n "((nil . ((company-clang-arguments . ("
2014-09-21 23:20:41 +00:00
echo '"-I.."'
for line in `cat - | sed -e 's/\s\+/\n/g' | grep '^-I' | sort | uniq`
do
echo '"'$line'"'
done
echo ")))))") > .dir-locals.el