-
Notifications
You must be signed in to change notification settings - Fork 0
/
aah.project
61 lines (49 loc) · 1.91 KB
/
aah.project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
########################################
# golamapi - aah framework project
#
# Note: Add it to version control
########################################
# Build section is used during aah application compile and build command.
build {
# Application binary name
# Default value is `name` attribute value from `aah.conf`
#binary_name = "golamapi"
# 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, aah CLI will try to get dependencies
# using 'go get <package>'.
# Default value is `false`.
#dep_get = true
# Log level is used for aah CLI tool logging.
# Default value is `info`.
#log_level = "info"
flags = ["-i"]
ldflags = ""
tags = ""
# AST excludes is used for `aah.Context` inspection and generating aah
# application main Go file. Valid exclude patterns
# refer: https://golang.org/pkg/path/filepath/#Match
ast_excludes = ["*_test.go", ".*", "*.bak", "*.tmp", "vendor"]
# Packing excludes is used to exclude file/directory during aah application
# build archive. Valid exclude patterns
# refer: https://golang.org/pkg/path/filepath/#Match
excludes = ["*.go", "*_test.go", ".*", "*.bak", "*.tmp", "vendor", "app", "build", "tests", "logs"]
}
# Hot-Reload is development purpose to help developer.
# Read more about implementation here - https://github.com/go-aah/aah/issues/4
#
# NOTE: Do not use hot-reload feature for production purpose, it's not recommended.
hot_reload {
# Default value is `true`.
enable = true
# Watch configuration - files/directories exclusion list.
watch {
# Note: static directory not required to be monitored, since server delivers
# up-to-date file on environment profile `dev`.
dir_excludes = [".*"]
file_excludes = [".*", "_test.go", "LICENSE", "README.md"]
}
}