Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 2.09 KB

File metadata and controls

82 lines (47 loc) · 2.09 KB

Scaffolding

Package scaffolding commands.

This directory contains make rules for scaffolding package files.

Usage

Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]

Commands

scaffold

Scaffold required files for a new or existing package. The command will create highly customized files when the package directory already contains at least the README.md file; otherwise, the command will create a default README.md and scaffold the remaining files using placeholder values.

$ make scaffold SCAFFOLD_PKG=<pkg>

The command expects the following environment variables to be set:

  • SCAFFOLD_PKG: package to scaffold, e.g., math/base/special/sin.
  • SCAFFOLD_API_KEY: API key for accessing the stdlib scaffolding service.