forked from sequentech/election-verifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.sh
executable file
·30 lines (25 loc) · 1.13 KB
/
package.sh
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
#!/bin/sh
# This file is part of agora-verifier.
# Copyright (C) 2015-2016 Agora Voting SL <agora@agoravoting.com>
# agora-verifier is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License.
# agora-verifier is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public License
# along with agora-verifier. If not, see <http://www.gnu.org/licenses/>.
rm -r -f dist
mkdir dist
cp -r agora_tally dist
cp -r agora_results dist
cp target/scala-2.10/proguard/agora-verifier_2.10-master.jar dist
cp pverify.sh dist
cp vmnc.sh dist
cp verify.py dist
cp agora-results dist
tar zcf agora-verifier.tar.gz dist --transform s/dist/agora-verifier/
cp executable_base.sh agora-verifier
uuencode agora-verifier.tar.gz agora-verifier.tar.gz >> agora-verifier
chmod +x agora-verifier