Skip to main content

Crate spin_build

Crate spin_build 

Source
Expand description

A library for building Spin components.

Enums§

TargetChecking
Specifies target environment checking behaviour

Functions§

build
If present, run the build command of each component.
build_default
Run all component build commands, using the default options (build all components, perform target checking). We run a “default build” in several places and this centralises the logic of what such a “default build” means.
read_last_build_profile
Reads the last build profile from the “last build profile” file.
save_last_build_profile
Saves the build profile to the “last build profile” file.
warn_if_not_latest_build
Prints a warning to stderr if the given profile is not the same as the most recent build in the given application directory.