summaryrefslogtreecommitdiffstats
path: root/scripts/sloccount.sh
blob: 121603e59f0d7a3000702b58084c64c1061c583f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

rm -rf sloccount_direct_bt
mkdir -p sloccount_direct_bt
cd sloccount_direct_bt

mkdir api
cd api
cp -a ../../api/direct_bt/* .
rm -fv *Ioctl.hpp
cd ..
# ln -s ../api/direct_bt api

ln -s ../include/cppunit cppunit
ln -s ../src/direct_bt src_cpp
ln -s ../test/direct_bt test
ln -s ../java/direct_bt src_java
ln -s ../java/jni/direct_bt src_jni
ln -s ../test src_test
cd ..

sloccount --follow --personcost 100000 --overhead 1.30 sloccount_direct_bt 2>&1 | tee sloccount_direct_bt-`date +%Y%m%d`.log
#sloccount --details --wide --follow --personcost 100000 --overhead 1.30 sloccount_direct_bt 2>&1 | tee sloccount_direct_bt-`date +%Y%m%d`.log