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.
|
||||
|
||||
## 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
|
||||
|
||||
Primary entry points are make-world and run-world, both in mw-engine.core. See
|
||||
|
@ -10,6 +15,9 @@ using
|
|||
|
||||
lein marg
|
||||
|
||||
To build the whole system, place all MicroWorld projects in a common directory,
|
||||
and from that directory run *buildall.sh*.
|
||||
|
||||
## License
|
||||
|
||||
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.
|
||||
|
||||
# Simon Broooke <simon@jasmine.org.uk>
|
||||
# Simon Broooke <simon@journeyman.cc>
|
||||
|
||||
# Variable and glag initialisation
|
||||
archive=FALSE
|
||||
|
@ -72,10 +72,11 @@ if [ $# -lt 1 ]
|
|||
then
|
||||
cat <<-EOF 1>&2
|
||||
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.
|
||||
-email [ADDRESS] Your email address, 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
|
||||
upversion to new LABEL and commit to master.
|
||||
-trial Trial build only, do not commit.
|
||||
|
@ -86,8 +87,8 @@ fi
|
|||
while (( "$#" ))
|
||||
do
|
||||
case $1 in
|
||||
-a|-archive)
|
||||
archive="TRUE";;
|
||||
-a|-archive)
|
||||
archive="TRUE";;
|
||||
-b|-build)
|
||||
# 'build' is the expected normal case.
|
||||
trial="FALSE";
|
||||
|
@ -108,9 +109,9 @@ do
|
|||
echo "Release flagged, but no release tag supplied" 1>&2;
|
||||
exit 1;
|
||||
fi;;
|
||||
-p|-pull)
|
||||
# pull from remote Git origin
|
||||
git pull origin master;;
|
||||
-p|-pull)
|
||||
# pull from remote Git origin
|
||||
git pull origin master;;
|
||||
-t|-trial)
|
||||
trial="TRUE";;
|
||||
-w|-webapps)
|
||||
|
|
Loading…
Reference in a new issue