-
Notifications
You must be signed in to change notification settings - Fork 0
/
aah.project
120 lines (105 loc) · 4.07 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# ---------------------------------------------------------------------------
# form-based-auth - aah framework project
#
# Doc: https://docs.aahframework.org/aah-project-file.html
# Note: Add it to version control
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Build section is used during aah application run and build command.
#
# Doc: https://docs.aahframework.org/aah-project-file.html#section-build
# ---------------------------------------------------------------------------
build {
# Application binary name
# Default value is `name` attribute value from `aah.conf`
#binary_name = "aah-form-based-auth"
# Used as fallback if
# - `git commit sha` or
# - `AAH_APP_VERSION` environment value is not available.
version = "0.0.1"
# If application misses any dependencies in `build import path`
# during compile and build, aah CLI will try to get the missing
# dependencies using 'go get <package>'.
#
# Default value is `true` since v0.11.0
#dep_get = true
# `-i` may not be required for go1.10 and above, however no impact.
flags = ["-i"]
ldflags = ""
tags = ""
# AST excludes is used for `aah.Context` inspection and for generating aah
# application main Go file.
#
# For valid pattern syntax, refer to 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.
#
# Note: It is also applicable to aah single binary build. This list is excluded
# from embedding.
#
# For valid pattern syntax, refer to https://golang.org/pkg/path/filepath/#Match
excludes = ["*.go", ".*", "*.bak", "*.tmp", "*.pid",
"vendor", "app", "build", "tests", "logs"]
}
# ---------------------------------------------------------------------------
# Logger configuration for aah CLI tool
# ---------------------------------------------------------------------------
log {
# Log level
# Default value is `info`.
#level = "info"
# Log colored output
# Default value is `true`.
#color = false
}
# ---------------------------------------------------------------------------
# Hot-Reload helps developer for rapid development.
# Read more about implementation here - https://aahframework.org/issues/4
#
# NOTE: Do not use hot-reload for production purposes, it is not recommended.
# Use app binary reload capability - `kill -HUP <process-id>` instead.
# ---------------------------------------------------------------------------
hot_reload {
# Default value is `true`.
enable = true
# Watch configuration - files/directories exclusion list.
#
# For valid pattern syntax, refer to https://golang.org/pkg/path/filepath/#Match
watch {
# Note: static directory is not required to be monitored since aah server
# delivers up-to-date file on environment profile `dev`.
dir_excludes = [".*"]
file_excludes = [".*", "_test.go", "LICENSE", "README.md"]
}
}
#------------------------------------------------------------------------
# Virtual FileSystem (VFS) configuration
#
# Doc: https://docs.aahframework.org/vfs.html
#------------------------------------------------------------------------
vfs {
# Adding custom mount points.
#
# Configured mount point directories and sub-directories
# are embedded into the aah app binary during single binary build.
#
# Note: Embed packaging uses the exclusion list from config `build.excludes`.
mount {
# Choose a unique key name
#my_mount {
# # Mount point (path separator is '/').
# mount_path = "/my_mount"
#
# # Physical FileSystem path.
# # Note: Only absolute path is accepted.
# physical_path = "/Users/jeeva/path/to/physical"
#}
}
# This config speeds up the single binary build process.
# No need to spend time in gzipping for compressed content type.
#
# Even without this config, aah decides best on what to gzip.
no_gzip = [".png", ".jpeg", ".jpg", ".gif", ".bmp", ".tiff", ".tif"
".woff", ".woff2"]
}