Title: aah.project Configuration File Desc: aah.project file holds configuration values for aah application project. It is used in build, project info, etc. Keywords: aah.project, project file, build config, build file, flags, ldflags, tags, build excludes
aah.project file holds the application info and build configuration values.
Build section is used during aah application compile and build process.
Application binary name.
Default value is name
attribute value from aah.conf
.
binary_name = ""
Used as fallback if git commit sha
or AAH_APP_VERSION
environment value is not available.
version = "0.0.1"
If application is missing any dependencies in build import path
during a compile and build process, aah CLI executes go get <package>
. If it's false then build shows error with list of dependencies which are not available.
Default value is false
.
dep_get = true
Log level is used for aah CLI tool logging.
Default value is info
.
log_level = "info"
Flag values is supplied to go build
command.
Default value is ["-i"]
flags = ["-i"]
Ldflags is supplied to go build
command as -ldflags ...
.
Default value is empty
string.
ldflags = ""
Tags is supplied to go build
command as -tags ...
.
Default value is empty
string.
tags = ""
AST excludes is used for aah.Context
inspection and generating aah application main Go file. For valid exclude patterns refer here.
Default value is ["*_test.go", ".*", "*.bak", "*.tmp", "vendor"]
ast_excludes = ["*_test.go", ".*", "*.bak", "*.tmp", "vendor"]
Packing excludes is used to exclude file/directory during aah application build archive. For valid exclude patterns refer here.
Default value is ["*.go", "*_test.go", ".*", "*.bak", "*.tmp", "vendor", "app", "tests", "logs"]
excludes = ["*.go", "*_test.go", ".*", "*.bak", "*.tmp", "vendor", "app", "tests", "logs"]