NAME

veda-new-workarea - Set up a new project workarea

SYNOPSIS

veda new-workarea [-f|--force] wa-name

DESCRIPTION

Creates a new project workarea directory named wa-name.

Workarea names must be made of Latin alphanumeric, underscore (_) and hyphen (-) characters, but can not start with the latter.

OPTIONS

-f, --force
Without -f, new-workarea will refuse to work within an existing workarea.

WORKAREA FORMAT

A workarea is a directory tree containing a .veda/ subdirectory at its toplevel. The format of a given workarea is specified by an RFC-2822-style header found in the .veda/workarea file:

$ grep Veda-Workarea: my-project/.veda/workarea
# Veda-Workarea: 1.0

The only workarea format supported by this version of Veda is 1.0.

Packages (cf. veda help new-package) ought to be installed in the pkg/ subdirectory of a workarea.

EXAMPLES

Creating workarea my-project:

$ veda new-workarea my-project
    Create my-project
    Create my-project/.cdsenv
    Create my-project/cds.lib
    Create my-project/.cdsinit
    Create my-project/pkg/README

Installing CSV parser package csv in newly-created workarea:

$ cd my-project/
my-project$ veda add-package csv
    Create pkg/csv
    Create pkg/csv/manifest
    Create pkg/csv/csv-test.ils
    Create pkg/csv/csv.ils

SEE ALSO

Crosstwine Veda on the Web