Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Global configuration for reusable development tools
|
|
# This file can be sourced by scripts to share configuration
|
|
|
|
# Default configuration values
|
|
export TEST_LEVEL="${TEST_LEVEL:-basic}"
|
|
export COVERAGE="${COVERAGE:-false}"
|
|
export OUTPUT_DIR="${OUTPUT_DIR:-test-results}"
|
|
export PACKAGE_FILTER="${PACKAGE_FILTER:-./...}"
|
|
export TIMEOUT="${TIMEOUT:-10m}"
|
|
export JUNIT_OUTPUT="${JUNIT_OUTPUT:-false}"
|
|
|
|
# Build configuration
|
|
export BINARY_NAME="${BINARY_NAME:-$(basename $(pwd))}"
|
|
export BINARY_DIR="${BINARY_DIR:-bin}"
|
|
export MAIN_FILE="${MAIN_FILE:-.}"
|
|
export BUILD_TAGS="${BUILD_TAGS:-}"
|
|
export LDFLAGS="${LDFLAGS:-}"
|
|
export OUTPUT="${OUTPUT:-$BINARY_DIR/$BINARY_NAME}"
|
|
export GOOS="${GOOS:-$(go env GOOS)}"
|
|
export GOARCH="${GOARCH:-$(go env GOARCH)}"
|
|
|
|
# Profile configuration
|
|
export PROFILE_TYPES="${PROFILE_TYPES:-cpu,mem,block,mutex}"
|
|
export REPORT_DIR="${REPORT_DIR:-reports/performance}"
|
|
|
|
# Common directories
|
|
export LOGS_DIR="${LOGS_DIR:-logs}"
|
|
export REPORTS_DIR="${REPORTS_DIR:-reports}"
|
|
export STORAGE_DIR="${STORAGE_DIR:-storage}"
|
|
export CONFIG_DIR="${CONFIG_DIR:-config}"
|
|
|
|
# Create directories if they don't exist
|
|
mkdir -p "$LOGS_DIR" "$REPORTS_DIR" "$STORAGE_DIR" "$CONFIG_DIR" 2>/dev/null || true
|
|
|
|
ARBISCAN_API_KEY=H8PEIY79385F4UKYU7MRV5IAT1BI1WYIVY
|
|
|