beakerlib / example

MIT License
0 stars 0 forks source link

NAME

example/file - example of a beakerlib library

DESCRIPTION

This is a trivial example of a BeakerLib library. It's main goal is to provide a minimal template which can be used as a skeleton when creating a new library. It implements function fileCreate(). Please note, that all library functions must begin with the same prefix which is defined at the beginning of the library.

VARIABLES

Below is the list of global variables. When writing a new library, please make sure that all global variables start with the library prefix to prevent collisions with other libraries.

FUNCTIONS

fileCreate

Create a new file, name it accordingly and make sure (assert) that the file is successfully created.

fileCreate [filename]

Returns 0 when the file is successfully created, non-zero otherwise.

EXECUTION

This library supports direct execution. When run as a task, phases provided in the PHASE environment variable will be executed. Supported phases are:

AUTHORS