build

package
v0.0.0-...-79ceddb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorBuilding              = errors.New("Failed to build your resource. Azion configuration not found. Make sure you are in the root directory of your local repository and have already initialized or linked your resource with the commands 'azion init' or 'azion link'")
	ErrorVulcanExecute         = errors.New("Error executing Bundler: %s")
	EdgeApplicationsOutputErr  = errors.New("This output-ctrl option is not available. Read the readme files found in the repository https://github.com/aziontech/azion-template and try again")
	ErrFailedToRunBuildCommand = errors.New("Failed to run the build command. Verify if the command is correct and check the output above for more details. Run the 'azion build' command again or contact Azion's support")
	ErrorUnmarshalConfigFile   = errors.New("Failed to unmarshal the config.json file. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorOpeningConfigFile     = errors.New("Failed to open the config.json file. The file doesn't exist, is corrupted, or has an invalid JSON format. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorOpeningAzionFile      = errors.New("Failed to open the azion.json file. The file doesn't exist, is corrupted, or has an invalid JSON format. Verify if the file format is JSON or fix its content according to the JSON format specification at https://www.json.org/json-en.html")
	ErrorPolyfills             = errors.New("Invalid --use-node-polyfills flag provided. The flag must have  'true' or 'false' values. Run the command 'azion build --help' to display more information and try again.")
	ErrorWorker                = errors.New("Invalid --use-own-worker flag provided. The flag must have  'true' or 'false' values. Run the command 'azion build --help' to display more information and try again.")
)
View Source
var (
	BuildUsage            = "build [flags]"
	BuildShortDescription = "Builds an Edge Application locally"
	BuildLongDescription  = "Builds an Edge Application locally"
	BuildRunningCmd       = "Running build step command:\n\n"
	BuildStart            = "Building your Edge Application. This process may take a few minutes\n"
	BuildSuccessful       = "Your Edge Application was built successfully\n"
	BuildFlagHelp         = "Displays more information about the build command"
	BuildSimple           = "Skipping build step. Build isn't applied to this type\n"
	BuildStatic           = "Skipping build step. Build isn't applied to the type 'static'\n"
	BuildNotNecessary     = "Skipping build step. There were no changes detected in your project"
	FlagTemplate          = "The Edge Application's preset; Inform this flag if you wish to change the project's preset during build"
	FlagWorker            = "" /* 156-byte string literal not displayed */
	FlagPolyfill          = "Use node polyfills in build"
	FlagEntry             = "Code entrypoint; (default: ./main.js)"
	IsFirewall            = "Indicates whether the function to be run is intended for the Edge Firewall"
	ProjectConfFlag       = "Relative path to where your custom azion.json and args.json files are stored"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL