feat: add Makefiles for 10 more language clients
Add per-client Makefiles for: - bash (shell scripts, bats testing) - perl (modules, prove testing) - lua (modules, busted testing) - typescript (tsc, jest) - kotlin (gradle/maven) - elixir (mix) - haskell (stack/cabal) - scala (sbt) - swift (swift package manager) - csharp (dotnet) All follow the 4-mode testing pattern: - CLI mode: syntax validation, --help - Library mode: import/require tests - Integration mode: API contract - Functional mode: real-world scenarios Total: 18 language clients with Makefiles
This commit is contained in:
parent
00dfc1bebc
commit
48c7fec3ae
10 changed files with 714 additions and 0 deletions
88
clients/bash/Makefile
Normal file
88
clients/bash/Makefile
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
# UN Bash Client - Build and Test
|
||||
#
|
||||
# Usage:
|
||||
# make test # Run all 4 test modes
|
||||
# make test-cli # CLI mode only
|
||||
# make test-library # Library mode only
|
||||
# make test-integration # Integration mode only
|
||||
# make test-functional # Functional mode only
|
||||
|
||||
.PHONY: all test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Bash Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make test All 4 test modes"
|
||||
@echo " make test-cli CLI mode"
|
||||
@echo " make test-library Library mode (source functions)"
|
||||
@echo " make test-integration Integration mode"
|
||||
@echo " make test-functional Functional mode"
|
||||
@echo " make lint Lint with shellcheck"
|
||||
@echo ""
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Bash Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Bash CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.sh" ]; then \
|
||||
bash -n "$(ROOT_DIR)/un.sh" && echo " $(GREEN)✓$(NC) CLI: Syntax valid (un.sh)" || echo " $(RED)✗$(NC) CLI: Syntax error"; \
|
||||
"$(ROOT_DIR)/un.sh" --help > /dev/null 2>&1 && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: --help (check implementation)"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/src/un.sh" ]; then \
|
||||
bash -n "$(SYNC_DIR)/src/un.sh" && echo " $(GREEN)✓$(NC) CLI: Sync SDK syntax valid" || echo " $(RED)✗$(NC) CLI: Sync syntax error"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Bash functions"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.sh" ]; then \
|
||||
bash -c "source $(ROOT_DIR)/un.sh 2>/dev/null; type un_execute >/dev/null 2>&1" && echo " $(GREEN)✓$(NC) Library: un_execute function exists" || echo " $(YELLOW)⊘$(NC) Library: un_execute not exported"; \
|
||||
fi
|
||||
@if [ -d "$(SYNC_DIR)/tests" ]; then \
|
||||
cd $(SYNC_DIR) && bats tests/ 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Install bats for testing"; \
|
||||
fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ] || [ -z "$$UNSANDBOX_SECRET_KEY" ]; then \
|
||||
echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else \
|
||||
echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; \
|
||||
fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ] || [ -z "$$UNSANDBOX_SECRET_KEY" ]; then \
|
||||
echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else \
|
||||
echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; \
|
||||
fi
|
||||
|
||||
lint:
|
||||
@echo "Linting Bash..."
|
||||
@if [ -f "$(ROOT_DIR)/un.sh" ]; then shellcheck "$(ROOT_DIR)/un.sh" || true; fi
|
||||
@if [ -f "$(SYNC_DIR)/src/un.sh" ]; then shellcheck "$(SYNC_DIR)/src/un.sh" || true; fi
|
||||
|
||||
clean:
|
||||
@echo "$(GREEN)✓$(NC) Nothing to clean for Bash"
|
||||
68
clients/csharp/Makefile
Normal file
68
clients/csharp/Makefile
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# UN C# Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN C# Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile with dotnet"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/*.csproj" ] || [ -f "$(SYNC_DIR)/*.sln" ]; then \
|
||||
cd $(SYNC_DIR) && dotnet build && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No .csproj or .sln found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ C# Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing C# CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.cs" ]; then \
|
||||
dotnet script "$(ROOT_DIR)/un.cs" -- --help 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: dotnet not installed or error"; \
|
||||
fi
|
||||
@if ls $(SYNC_DIR)/*.csproj 1>/dev/null 2>&1; then \
|
||||
cd $(SYNC_DIR) && dotnet build 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing C# classes"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if ls $(SYNC_DIR)/*.csproj 1>/dev/null 2>&1; then \
|
||||
cd $(SYNC_DIR) && dotnet test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Tests incomplete"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No .csproj"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/bin $(SYNC_DIR)/obj 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned C# artifacts"
|
||||
69
clients/elixir/Makefile
Normal file
69
clients/elixir/Makefile
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# UN Elixir Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
ASYNC_DIR := async
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Elixir Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile with mix"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/mix.exs" ]; then \
|
||||
cd $(SYNC_DIR) && mix compile && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No mix.exs found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Elixir Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Elixir CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.exs" ]; then \
|
||||
elixir "$(ROOT_DIR)/un.exs" --help 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: Check implementation"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/mix.exs" ]; then \
|
||||
cd $(SYNC_DIR) && mix compile 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Elixir modules"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/mix.exs" ]; then \
|
||||
cd $(SYNC_DIR) && mix test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Run mix deps.get first"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No mix.exs"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/_build $(ASYNC_DIR)/_build 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned Elixir artifacts"
|
||||
70
clients/haskell/Makefile
Normal file
70
clients/haskell/Makefile
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
# UN Haskell Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Haskell Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile with cabal/stack"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/package.yaml" ]; then \
|
||||
cd $(SYNC_DIR) && stack build && echo "$(GREEN)✓$(NC) Sync SDK compiled (stack)"; \
|
||||
elif [ -f "$(SYNC_DIR)/*.cabal" ]; then \
|
||||
cd $(SYNC_DIR) && cabal build && echo "$(GREEN)✓$(NC) Sync SDK compiled (cabal)"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No build config found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Haskell Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Haskell CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.hs" ]; then \
|
||||
ghc -e "main" "$(ROOT_DIR)/un.hs" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Compiles" || echo " $(YELLOW)⊘$(NC) CLI: ghc not installed or error"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/package.yaml" ]; then \
|
||||
cd $(SYNC_DIR) && stack build 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Haskell modules"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/package.yaml" ]; then \
|
||||
cd $(SYNC_DIR) && stack test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Run stack setup first"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No package.yaml"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/.stack-work $(SYNC_DIR)/dist-newstyle 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned Haskell artifacts"
|
||||
71
clients/kotlin/Makefile
Normal file
71
clients/kotlin/Makefile
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
# UN Kotlin Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
ASYNC_DIR := async
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Kotlin Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile Kotlin"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/build.gradle.kts" ]; then \
|
||||
cd $(SYNC_DIR) && gradle build -q && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
elif [ -f "$(SYNC_DIR)/pom.xml" ]; then \
|
||||
cd $(SYNC_DIR) && mvn compile -q && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No build config found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Kotlin Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Kotlin CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.kt" ]; then \
|
||||
kotlinc -script "$(ROOT_DIR)/un.kt" -- --help 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: kotlinc not installed or error"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/build.gradle.kts" ]; then \
|
||||
cd $(SYNC_DIR) && gradle compileKotlin -q 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Kotlin classes"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/build.gradle.kts" ]; then \
|
||||
cd $(SYNC_DIR) && gradle test -q 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Tests incomplete"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No build config"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/build $(ASYNC_DIR)/build 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned Kotlin artifacts"
|
||||
67
clients/lua/Makefile
Normal file
67
clients/lua/Makefile
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# UN Lua Client - Build and Test
|
||||
|
||||
.PHONY: all test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Lua Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make test All 4 test modes"
|
||||
@echo " make test-cli CLI mode"
|
||||
@echo " make test-library Library mode (require module)"
|
||||
@echo ""
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Lua Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Lua CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.lua" ]; then \
|
||||
luac -p "$(ROOT_DIR)/un.lua" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Syntax valid (un.lua)" || echo " $(RED)✗$(NC) CLI: Syntax error"; \
|
||||
lua "$(ROOT_DIR)/un.lua" --help > /dev/null 2>&1 && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: --help (check implementation)"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/src/unsandbox.lua" ]; then \
|
||||
luac -p "$(SYNC_DIR)/src/unsandbox.lua" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync module syntax valid"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Lua module"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/src/unsandbox.lua" ]; then \
|
||||
lua -e "package.path='$(SYNC_DIR)/src/?.lua;'..package.path; local un = require('unsandbox'); print(' ✓ Library: Module importable')" 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Module import failed"; \
|
||||
fi
|
||||
@if [ -d "$(SYNC_DIR)/spec" ]; then \
|
||||
cd $(SYNC_DIR) && busted spec/ 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Install busted for testing"; \
|
||||
fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@echo "$(GREEN)✓$(NC) Nothing to clean for Lua"
|
||||
74
clients/perl/Makefile
Normal file
74
clients/perl/Makefile
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# UN Perl Client - Build and Test
|
||||
#
|
||||
# Usage:
|
||||
# make test # Run all 4 test modes
|
||||
# make test-cli # CLI mode only
|
||||
# make test-library # Library mode only
|
||||
|
||||
.PHONY: all test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Perl Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make test All 4 test modes"
|
||||
@echo " make test-cli CLI mode"
|
||||
@echo " make test-library Library mode (use module)"
|
||||
@echo " make test-integration Integration mode"
|
||||
@echo " make test-functional Functional mode"
|
||||
@echo ""
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Perl Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Perl CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.pl" ]; then \
|
||||
perl -c "$(ROOT_DIR)/un.pl" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Syntax valid (un.pl)" || echo " $(RED)✗$(NC) CLI: Syntax error"; \
|
||||
perl "$(ROOT_DIR)/un.pl" --help > /dev/null 2>&1 && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: --help (check implementation)"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/src/Unsandbox.pm" ]; then \
|
||||
perl -c "$(SYNC_DIR)/src/Unsandbox.pm" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync module syntax valid" || echo " $(RED)✗$(NC) CLI: Module syntax error"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Perl module"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/src/Unsandbox.pm" ]; then \
|
||||
perl -I$(SYNC_DIR)/src -e "use Unsandbox; print ' ✓ Library: Module importable\n'" 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Module import failed"; \
|
||||
fi
|
||||
@if [ -d "$(SYNC_DIR)/t" ]; then \
|
||||
cd $(SYNC_DIR) && prove t/ 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Run 'prove t/' for tests"; \
|
||||
fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@echo "$(GREEN)✓$(NC) Nothing to clean for Perl"
|
||||
68
clients/scala/Makefile
Normal file
68
clients/scala/Makefile
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# UN Scala Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Scala Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile with sbt"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/build.sbt" ]; then \
|
||||
cd $(SYNC_DIR) && sbt compile && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No build.sbt found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Scala Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Scala CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.scala" ]; then \
|
||||
scala "$(ROOT_DIR)/un.scala" --help 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: scala not installed or error"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/build.sbt" ]; then \
|
||||
cd $(SYNC_DIR) && sbt compile 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Scala classes"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/build.sbt" ]; then \
|
||||
cd $(SYNC_DIR) && sbt test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Tests incomplete"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No build.sbt"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/target 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned Scala artifacts"
|
||||
68
clients/swift/Makefile
Normal file
68
clients/swift/Makefile
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# UN Swift Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN Swift Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile with swift build"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/Package.swift" ]; then \
|
||||
cd $(SYNC_DIR) && swift build && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No Package.swift found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ Swift Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing Swift CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.swift" ]; then \
|
||||
swift "$(ROOT_DIR)/un.swift" --help 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: --help works" || echo " $(YELLOW)⊘$(NC) CLI: swift not installed or error"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/Package.swift" ]; then \
|
||||
cd $(SYNC_DIR) && swift build 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK compiles" || echo " $(YELLOW)⊘$(NC) CLI: Compile failed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing Swift modules"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/Package.swift" ]; then \
|
||||
cd $(SYNC_DIR) && swift test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Tests incomplete"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No Package.swift"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/.build 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned Swift artifacts"
|
||||
71
clients/typescript/Makefile
Normal file
71
clients/typescript/Makefile
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
# UN TypeScript Client - Build and Test
|
||||
|
||||
.PHONY: all build test test-cli test-library test-integration test-functional clean help
|
||||
|
||||
ROOT_DIR := $(shell cd ../.. && pwd)
|
||||
SYNC_DIR := sync
|
||||
ASYNC_DIR := async
|
||||
GREEN := \033[32m
|
||||
RED := \033[31m
|
||||
YELLOW := \033[33m
|
||||
NC := \033[0m
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help:
|
||||
@echo "UN TypeScript Client - Build and Test"
|
||||
@echo ""
|
||||
@echo " make build Compile TypeScript"
|
||||
@echo " make test All 4 test modes"
|
||||
@echo " make test-cli CLI mode"
|
||||
@echo " make test-library Library mode"
|
||||
@echo ""
|
||||
|
||||
build:
|
||||
@if [ -f "$(SYNC_DIR)/tsconfig.json" ]; then \
|
||||
cd $(SYNC_DIR) && npx tsc && echo "$(GREEN)✓$(NC) Sync SDK compiled"; \
|
||||
else echo "$(YELLOW)⊘$(NC) No tsconfig.json found"; fi
|
||||
|
||||
test: test-cli test-library test-integration test-functional
|
||||
@echo "$(GREEN)✓ TypeScript Client: All 4 test modes complete$(NC)"
|
||||
|
||||
test-cli:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "CLI MODE: Testing TypeScript CLI"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(ROOT_DIR)/un.ts" ]; then \
|
||||
npx tsc --noEmit "$(ROOT_DIR)/un.ts" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Type check passed (un.ts)" || echo " $(YELLOW)⊘$(NC) CLI: Type errors or tsc not installed"; \
|
||||
fi
|
||||
@if [ -f "$(SYNC_DIR)/src/un.ts" ]; then \
|
||||
npx tsc --noEmit "$(SYNC_DIR)/src/un.ts" 2>/dev/null && echo " $(GREEN)✓$(NC) CLI: Sync SDK type check passed"; \
|
||||
fi
|
||||
|
||||
test-library:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "LIBRARY MODE: Testing TypeScript imports"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -f "$(SYNC_DIR)/package.json" ]; then \
|
||||
cd $(SYNC_DIR) && npm test 2>/dev/null || echo " $(YELLOW)⊘$(NC) Library: Run npm install first"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Library: No package.json"; fi
|
||||
|
||||
test-integration:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "INTEGRATION MODE: Testing API contract"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Integration: Not yet implemented"; fi
|
||||
|
||||
test-functional:
|
||||
@echo ""
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@echo "FUNCTIONAL MODE: Real-world scenarios"
|
||||
@echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
@if [ -z "$$UNSANDBOX_PUBLIC_KEY" ]; then echo " $(YELLOW)⊘$(NC) Skipping (no API credentials)"; \
|
||||
else echo " $(YELLOW)⊘$(NC) Functional: Not yet implemented"; fi
|
||||
|
||||
clean:
|
||||
@rm -rf $(SYNC_DIR)/dist $(ASYNC_DIR)/dist 2>/dev/null || true
|
||||
@echo "$(GREEN)✓$(NC) Cleaned TypeScript artifacts"
|
||||
Loading…
Add table
Add a link
Reference in a new issue