File: add-header.sh

package info (click to toggle)
rapmap 0.15.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,352 kB
  • sloc: cpp: 48,826; ansic: 4,471; sh: 215; python: 82; makefile: 17
file content (33 lines) | stat: -rw-r--r-- 1,702 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
HEADERS=(EnumCoder.hpp HitManager.hpp IndexHeader.hpp JFRaw.hpp PairAlignmentFormatter.hpp RapMapConfig.hpp RapMapFileSystem.hpp RapMapIndex.hpp RapMapSAIndex.hpp RapMapUtils.hpp SACollector.hpp SASearcher.hpp ScopedTimer.hpp SingleAlignmentFormatter.hpp SparseHashSerializer.hpp SpinLock.hpp)

SRCS=(EnumCoder.cpp EnumCoderTest.cpp HitManager.cpp RapMap.cpp RapMapFileSystem.cpp RapMapIndex.cpp RapMapIndexer.cpp RapMapMapper.cpp RapMapSAIndex.cpp RapMapSAIndexer.cpp RapMapSAMapper.cpp RapMapUtils.cpp UtilTest.cpp) 

for h in ${HEADERS[*]};
do
copyright-header --add-path ../include/$h \
                 --license GPL3 \
                 --copyright-holder 'Rob Patro' \
                 --copyright-holder 'Avi Srivastava' \
                 --copyright-holder 'Hirak Sarkar' \
                 --copyright-software 'RapMap' \
                 --copyright-software-description "Rapid and accurate mapping of short reads to transcriptomes using quasi-mapping." \
                 --copyright-year 2015 \
                 --copyright-year 2016 \
		         --word-wrap 80 \
                 --output-dir .
done

for h in ${SRCS[*]};
do
copyright-header --add-path ../src/$h \
                 --license GPL3 \
                 --copyright-holder 'Rob Patro' \
                 --copyright-holder 'Avi Srivastava' \
                 --copyright-holder 'Hirak Sarkar' \
                 --copyright-software 'RapMap' \
                 --copyright-software-description "Rapid and accurate mapping of short reads to transcriptomes using quasi-mapping." \
                 --copyright-year 2015 \
                 --copyright-year 2016 \
		         --word-wrap 80 \
                 --output-dir .
done