Sha256: d314f2a768db9ada0dbaf371c992ce579c836a3719d6a7723980d91de7909aa5
Contents?: true
Size: 707 Bytes
Versions: 23
Compression:
Stored size: 707 Bytes
Contents
# encoding: utf-8 task :contributors do contributors = `git log --pretty=short --no-merges | git shortlog -ne | egrep -ve '^ +' | egrep -ve '^$'` puts contributors.split("\n").length end task :codeswarm do sh "code_swarm --reload" rescue nil # Fails because of encoding - which we'll fix sh "iconv -f latin1 -t utf-8 .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml" sh "sed -e 's/Aslak\ Hellesøy@.BEKK.no/aslak.hellesoy@gmail.com/g' .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml" sh "sed -e 's/josephwilk@joesniff.co.uk/joe@josephwilk.net/g' .git/.code_swarm/log.xml > tmp.xml && mv tmp.xml .git/.code_swarm/log.xml" sh "code_swarm" end
Version data entries
23 entries across 23 versions & 5 rubygems