Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.16 KB

wcup.org

File metadata and controls

47 lines (33 loc) · 1.16 KB

Wire-Cell User Package Generator

Introduction

The Wire-Cell Toolkit supports “user packages” (WCUP). A WCUP is like a “vertical slice” of the main wire-cell-toolkit repository in that it contains a main `wscript` and a “sub-package” directory.

The wcup directory in moo provides templates and other support to generate your own WCUP starting point.

WCUP also provides an example of the use of moo render-many.

Usage

$ moo  -T wcup render-many -o ~/dev/pcbro wcup/pcbraw.jsonnet
$ cd ~/dev/pcbro
$ git init && git add * && git commmit -am "First commit"
$ cp /path/to/wire-cell-toolkit/wcb .
$ ./wcb configure --with-wct=/path/to/wct/install [...]
$ ./wcb 

The developer may then start adding in more code and files.

Caution

There is no protection against overwriting existing files. moo will happily regenerate the initial skeleton files even if you have poured your heart into developing them manually.