Introduction
This sections lists several typical tasks that users and developers will perform frequently.It implies that the LUSI environment has already been setup as explained in Environment setup.
Tasks
Switching to a different release or build options
To switch to "newest" release:
lusi_setup newest
To switch to a numbered release and use debug build:
lusi_setup 1.2.3 deb
To use debug build
lusi_setup deb
Creating test release based on some numbered release
cd <test-area>
newrel 1.2.3 test-1.2.3
cd test-1.2.3
lusi_setup
Check out package from repository
To check out package HEAD
addpkg MyPackage HEAD
To check out the same tag as in the release
addpkg MyPackage
To check out specific tag
addpkg MyPackage V00-00-00
Create completely new package
This will create basic structure for a regular package - package directory, SConscript
file, doc/README
, and doc/ChangeLog
.
newpkg MyNewPackage
Create new package in Subversion
lusvn newpkg MyNewPackage
and check it out
addpkg MyNewPackage
Building the release
scons
or
scons TRACE=1
Use higher TRACE numbers for verbose output.
To run all unit tests in the release
scons test