-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakerelease.bat
76 lines (57 loc) · 2.89 KB
/
makerelease.bat
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
echo off
set VERSION=2.2.4
set RELEASE=TopSPIN_%VERSION%
make clean
make jars
rm -rf %RELEASE%
rm -f %RELEASE%.tgz
mkdir %RELEASE%
mkdir %RELEASE%\documentation
mkdir %RELEASE%\documentation\papers
cp documentation\papers\FM2005.pdf %RELEASE%\documentation\papers\FM2005.pdf
cp documentation\papers\FM2006.pdf %RELEASE%\documentation\papers\FM2006.pdf
cp documentation\papers\AMAST2006.pdf %RELEASE%\documentation\papers\AMAST2006.pdf
mkdir %RELEASE%\documentation\thesis
cp documentation\thesis\DonaldsonThesis.pdf %RELEASE%\documentation\thesis\DonaldsonThesis.pdf
mkdir %RELEASE%\documentation\manual
cp documentation\manual\manual.pdf %RELEASE%\documentation\manual\TopSPIN_%VERSION%_manual.pdf
mkdir %RELEASE%\saucy
cp saucy/LICENSE %RELEASE%/saucy/LICENSE
cp saucy/Makefile %RELEASE%/saucy/Makefile
cp saucy/README %RELEASE%/saucy/README
cp saucy/main.c %RELEASE%/saucy/main.c
cp saucy/saucy.c %RELEASE%/saucy/saucy.c
cp saucy/saucy.h %RELEASE%/saucy/saucy.h
cp saucy/saucyio.c %RELEASE%/saucy/saucyio.c
mkdir %RELEASE%\Common
cp Common\Classify.gap %RELEASE%\Common\Classify.gap
cp Common\Enumerate.gap %RELEASE%\Common\Enumerate.gap
cp Common\LocalSearch.gap %RELEASE%\Common\LocalSearch.gap
cp Common\OutputPerm.gap %RELEASE%\Common\OutputPerm.gap
cp Common\StabilizerChainCosets.gap %RELEASE%\Common\StabilizerChainCosets.gap
cp Common\WorkspaceGenerator.gap %RELEASE%\Common\WorkspaceGenerator.gap
cp Common\Disjoint.gap %RELEASE%\Common\Disjoint.gap
cp Common\EnumerationStrategies.gap %RELEASE%\Common\EnumerationStrategies.gap
cp Common\Minimising.gap %RELEASE%\Common\Minimising.gap
cp Common\PermutationToTranspositions.gap %RELEASE%\Common\PermutationToTranspositions.gap
cp Common\Verify.gap %RELEASE%\Common\Verify.gap
cp Common\Wreath.gap %RELEASE%\Common\Wreath.gap
cp Common\groupBasic.c %RELEASE%\Common\groupBasic.c
cp Common\groupTranspositions.c %RELEASE%\Common\groupTranspositions.c
cp Common\parallel_symmetry_cell_ppu.c %RELEASE%\Common\parallel_symmetry_cell_ppu.c
cp Common\parallel_symmetry_cell_spu.c %RELEASE%\Common\parallel_symmetry_cell_spu.c
cp Common\parallel_symmetry_pthreads.c %RELEASE%\Common\parallel_symmetry_pthreads.c
cp Common\groupBasic.h %RELEASE%\Common\groupBasic.h
cp Common\groupTranspositions.h %RELEASE%\Common\groupTranspositions.h
cp Common\parallel_symmetry_cell_ppu.h %RELEASE%\Common\parallel_symmetry_cell_ppu.h
cp Common\parallel_symmetry_cell_spu.h %RELEASE%\Common\parallel_symmetry_cell_spu.h
cp Common\parallel_symmetry_pthreads.h %RELEASE%\Common\parallel_symmetry_pthreads.h
cp Common\segment.h %RELEASE%\Common\segment.h
mkdir %RELEASE%\examples
cp examples\loadbalancer.p %RELEASE%\examples\loadbalancer.p
cp TopSPIN.jar %RELEASE%\TopSPIN_%VERSION%.jar
cp releasenotes.txt %RELEASE%\releasenotes.txt
tar -cvf %RELEASE%.tar %RELEASE%
gzip %RELEASE%.tar
mv %RELEASE%.tar.gz %RELEASE%.tgz
pause