Repository navigation
Expand file tree
/
Copy pathpaths.env
More file actions
74 lines (67 loc) · 3.32 KB
/
Copy pathpaths.env
File metadata and controls
74 lines (67 loc) · 3.32 KB
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
# paths.env - Centralized path definitions for Fulla (Task 5 / M0, review H2)
#
# Single source of truth for source directories, build output paths, SQL /
# config paths referenced by manage.ps1 / manage.sh, scripts/backend/*, and
# CMake (see cmake/Paths.cmake).
#
# IMPORTANT:
# - This file only centralizes the CURRENT (pre-refactor) path values.
# It does not change any actual path yet -- that happens in later
# milestones (M2a/M3/M8), which only need to edit THIS file plus the
# handful of "path sync" tasks that reference it.
# - Format: KEY=VALUE. No spaces around '=', no quotes, no inline
# comments on value lines. This keeps the file parseable by:
# * Bash: `source paths.env` (valid POSIX assignment syntax)
# * PowerShell: scripts/backend/paths-loader.ps1 (Import-PathsEnv)
# * Batch: `for /f "eol=# tokens=1,2 delims==" ...`
# * CMake: cmake/Paths.cmake (file(STRINGS ...))
# - Paths are relative to the repository root unless the key name says
# otherwise (e.g. *_REL_* keys are relative to another dir below).
# --- Source directories (Phase 5 directory restructure: A7/A8 layout) ---
# FULLA_PLUGIN_DIR removed in Phase 4 (directory restructure): the
# OAuth2Plugin/ OBJECT library merged into libs/drogon (LIBS_DROGON_DIR).
# Phase 5: OAuth2Server -> apps/server, OAuth2Admin -> frontends/admin,
# OAuth2Frontend -> frontends/user (key names kept, values rebased).
FULLA_SERVER_DIR=apps/server
FULLA_ADMIN_DIR=frontends/admin
FULLA_FRONTEND_DIR=frontends/user
# --- libs/ (M2a+, additive alongside the pre-refactor layout above) ---
LIBS_COMMON_DIR=libs/common
LIBS_COMMON_TESTING_DIR=libs/common/testing
LIBS_FULLA_DIR=libs/oauth2
LIBS_STORAGE_POSTGRES_DIR=libs/storage-postgres
LIBS_STORAGE_MEMORY_DIR=libs/storage-memory
LIBS_STORAGE_REDIS_DIR=libs/storage-redis
LIBS_IDENTITY_DIR=libs/identity
LIBS_DROGON_DIR=libs/drogon
# --- Build output ---
# BUILD_DIR is relative to the repo root; SERVER_BUILD_SUBDIR is the
# sub-directory of BUILD_DIR that holds the server target's build output
# (single- and multi-config generators both use this as the base).
BUILD_DIR=build
SERVER_BUILD_SUBDIR=apps/server
SERVER_BINARY_NAME=fulla-server
# Phase 5: tests moved from OAuth2Server/test to the top-level tests/ dir;
# the test binary (fulla-tests) builds under BUILD_DIR/tests and its
# runtime config is flattened to config.json by tests/CMakeLists POST_BUILD.
TESTS_BUILD_SUBDIR=tests
# --- SQL / migrations (relative to FULLA_SERVER_DIR) ---
# Phase 5: the sql/ wrapper dir was flattened -- migrations/ and seed/
# now sit directly under apps/server/.
SQL_MIGRATIONS_REL_DIR=migrations
SQL_SEED_REL_DIR=seed
# --- Config files (relative to FULLA_SERVER_DIR) ---
CONFIG_FILE=config/config.json
CONFIG_DEV_FILE=config/config.dev.json
CONFIG_CI_FILE=config/config.ci.json
CONFIG_PROD_FILE=config/config.prod.json
# --- ORM models (relative to LIBS_STORAGE_POSTGRES_DIR) ---
# Phase 4 note: models have lived in libs/storage-postgres since M2b
# Task 18; these keys were rebased from the deleted FULLA_PLUGIN_DIR.
MODELS_SRC_REL_DIR=src/models
MODELS_INC_REL_DIR=include/fulla/storage/postgres/models
MODELS_BACKUP_REL_DIR=models_backup
# --- Docker / deploy (relative to repo root) ---
DEPLOY_DOCKER_DIR=deploy/docker
COMPOSE_FILE_REL=deploy/docker/docker-compose.yml
DOCKERFILE_REL=deploy/docker/Dockerfile