-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake_release.sh
More file actions
executable file
·54 lines (44 loc) · 1.2 KB
/
make_release.sh
File metadata and controls
executable file
·54 lines (44 loc) · 1.2 KB
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
#!/bin/bash
build() {
dir=$1
cd "$dir" || exit
# Two makes because of the compiling bugs
COMPILER=pgf make
COMPILER=pgf make
cd - > /dev/null || exit
}
clean() {
dir=$1
cd "$dir" || exit
COMPILER=pgf make clean
cd - > /dev/null || exit
}
# dock3
build dock3/src/libfgz
build dock3/src/i386
cp dock3/src/i386/dock64 dock3
clean dock3/src/libfgz
clean dock3/src/i386
# dock3-symmetry
build dock3-symmetry/src/libfgz
build dock3-symmetry/src/i386
cp dock3-symmetry/src/i386/dock64 dock3-symmetry
clean dock3-symmetry/src/libfgz
clean dock3-symmetry/src/i386
# Pydock
# TODO: pydock3 shouldn't include DOCK executable as a submodule but should instead use DOCKEXEC or DOCKBASE or something. For now we will just do this
cp -r dock3 pydock3/pydock3/docking
cd pydock3
poetry build
cd ..
# legacy3
# TODO: legacy3 shouldnt include the DOCK executable in docking and again should be restructured.
cp -r dock3 legacy3/docking/DOCK
# zinc22-3d
# Nothing needs to be done for now!
# SUBDOCK
# Nothing needs to be done for now!
# Create the tar'd release
mkdir -p DOCK3.8
cp -r dock3 dock3-symmetry legacy3 pydock3 SUBDOCK zinc22-3d test README.md DOCK3.8
tar czf dock-"$1".tgz DOCK3.8