Modifications to README.md and buildall.sh to make this easier for other
people to build.
This commit is contained in:
parent
f06febd7c6
commit
ce6212a965
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
Core cellular automaton engine for MicroWorld.
|
Core cellular automaton engine for MicroWorld.
|
||||||
|
|
||||||
|
## Part of the overall Microworld system
|
||||||
|
|
||||||
|
While this code works and is interesting on its own, you also need at least
|
||||||
|
*mw-parser* and *mw-ui*. There will be other modules in due course.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Primary entry points are make-world and run-world, both in mw-engine.core. See
|
Primary entry points are make-world and run-world, both in mw-engine.core. See
|
||||||
|
@ -10,6 +15,9 @@ using
|
||||||
|
|
||||||
lein marg
|
lein marg
|
||||||
|
|
||||||
|
To build the whole system, place all MicroWorld projects in a common directory,
|
||||||
|
and from that directory run *buildall.sh*.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright © 2014 Simon Brooke
|
Copyright © 2014 Simon Brooke
|
||||||
|
|
15
buildall.sh
15
buildall.sh
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
# WARNING: The regexps in this are fair awfy bruckle. Edit with care.
|
# WARNING: The regexps in this are fair awfy bruckle. Edit with care.
|
||||||
|
|
||||||
# Simon Broooke <simon@jasmine.org.uk>
|
# Simon Broooke <simon@journeyman.cc>
|
||||||
|
|
||||||
# Variable and glag initialisation
|
# Variable and glag initialisation
|
||||||
archive=FALSE
|
archive=FALSE
|
||||||
|
@ -72,10 +72,11 @@ if [ $# -lt 1 ]
|
||||||
then
|
then
|
||||||
cat <<-EOF 1>&2
|
cat <<-EOF 1>&2
|
||||||
Usage:
|
Usage:
|
||||||
-archive Create a tar archive of the current state of the source.
|
-archive Create a tar archive of the current state of the source.
|
||||||
-build Build all components and commit to master.
|
-build Build all components and commit to master.
|
||||||
-email [ADDRESS] Your email address, to be recorded in the build signature.
|
-email [ADDRESS] Your email address, to be recorded in the build signature.
|
||||||
-fullname [NAME] Your full name, to be recorded in the build signature.
|
-fullname [NAME] Your full name, to be recorded in the build signature.
|
||||||
|
-pull Pull from remote git repository
|
||||||
-release [LABEL] Build all components, branch for release on old label, then
|
-release [LABEL] Build all components, branch for release on old label, then
|
||||||
upversion to new LABEL and commit to master.
|
upversion to new LABEL and commit to master.
|
||||||
-trial Trial build only, do not commit.
|
-trial Trial build only, do not commit.
|
||||||
|
@ -86,8 +87,8 @@ fi
|
||||||
while (( "$#" ))
|
while (( "$#" ))
|
||||||
do
|
do
|
||||||
case $1 in
|
case $1 in
|
||||||
-a|-archive)
|
-a|-archive)
|
||||||
archive="TRUE";;
|
archive="TRUE";;
|
||||||
-b|-build)
|
-b|-build)
|
||||||
# 'build' is the expected normal case.
|
# 'build' is the expected normal case.
|
||||||
trial="FALSE";
|
trial="FALSE";
|
||||||
|
@ -108,9 +109,9 @@ do
|
||||||
echo "Release flagged, but no release tag supplied" 1>&2;
|
echo "Release flagged, but no release tag supplied" 1>&2;
|
||||||
exit 1;
|
exit 1;
|
||||||
fi;;
|
fi;;
|
||||||
-p|-pull)
|
-p|-pull)
|
||||||
# pull from remote Git origin
|
# pull from remote Git origin
|
||||||
git pull origin master;;
|
git pull origin master;;
|
||||||
-t|-trial)
|
-t|-trial)
|
||||||
trial="TRUE";;
|
trial="TRUE";;
|
||||||
-w|-webapps)
|
-w|-webapps)
|
||||||
|
|
Loading…
Reference in a new issue