Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 379 Bytes
## SLOCCOUNT ##
SLOCCOUNT = sloccount \
--addlang makefile \
--personcost 100000 \
--effort 3.6 1.2 \
--schedule 2.5 0.32 \
--
J_FILES = $(shell git ls-files | grep '\.j$$')
sloccount:
@for x in $(J_FILES); do cp $$x $${x%.j}.hs; done
@git ls-files | sed 's/\.j$$/.hs/' | xargs $(SLOCCOUNT) | sed 's/haskell/*julia*/g'
@for x in $(J_FILES); do rm -f $${x%.j}.hs; done