Allow building of a STABLE or TESTING version using kicad-install.sh.

This commit is contained in:
Dick Hollenbeck 2014-05-06 00:23:57 -05:00
parent 8434498394
commit b933ef8565
1 changed files with 12 additions and 4 deletions

View File

@ -34,6 +34,17 @@
# Set where the 3 source trees will go, use a full path # Set where the 3 source trees will go, use a full path
WORKING_TREES=~/kicad_sources WORKING_TREES=~/kicad_sources
STABLE=tag:pre-kiway # currently the best mix of features and stabilty
TESTING=last:1 # the most recent
# Set this to STABLE or TESTING or other know revision number:
REVISION=$STABLE
# For info on revision syntax:
# $ bzr help revisionspec
# CMake Options # CMake Options
#OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF" #OPTS="$OPTS -DBUILD_GITHUB_PLUGIN=OFF"
@ -45,9 +56,6 @@ WORKING_TREES=~/kicad_sources
# https results in read only access. # https results in read only access.
REPOS=https://code.launchpad.net REPOS=https://code.launchpad.net
# This is no longer maintained, is old
#LEGACY_LIB_REPO=$REPOS/~dickelbeck/kicad/library-read-only
# This branch is a bzr/launchpad import of the Git repository # This branch is a bzr/launchpad import of the Git repository
# at https://github.com/KiCad/kicad-library.git. # at https://github.com/KiCad/kicad-library.git.
# It has schematic parts and 3D models in it. # It has schematic parts and 3D models in it.
@ -216,7 +224,7 @@ install_or_update()
echo " source repo to local working tree." echo " source repo to local working tree."
else else
cd kicad.bzr cd kicad.bzr
bzr up bzr up -r $REVISION
echo " local source working tree updated." echo " local source working tree updated."
cd ../ cd ../
fi fi