-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmkdist
executable file
·31 lines (29 loc) · 1.12 KB
/
mkdist
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
#!/bin/sh
#
# USE THIS SCRIPT FOR DISTRIBUTIONS
#
# While the script calls "scons dist", two other things have to happen
# before it. Use this script, "./mkdist" instead of running "scons dist"
# to make a distribution for public release.
#
echo " ----------------------------------------------------"
echo " Making distribution file"
echo " ----------------------------------------------------"
echo ""
scons -c #must clean to have an accurate report on next step
echo ""
echo " ----------------------------------------------------"
echo " Cleared existing compiled files"
echo " ----------------------------------------------------"
echo ""
scons #must build to make sure the distribution isn't buggy, essential!
echo ""
echo " ----------------------------------------------------"
echo " Built distribution"
echo " ----------------------------------------------------"
echo ""
scons dist #finally, if cleaned and still compiles, make the distribution, and only then
echo ""
echo " ----------------------------------------------------"
echo " Distribution file made"
echo " ----------------------------------------------------"