We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7adab commit 2be2a4eCopy full SHA for 2be2a4e
1 file changed
test-quick.sh
@@ -38,6 +38,10 @@ trap cleanup EXIT
38
main() {
39
print_section "ObjectDocs Quick Build Test"
40
41
+ # Detect monorepo root BEFORE changing directories
42
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
43
+ MONOREPO_ROOT="${SCRIPT_DIR}"
44
+
45
# Create test project
46
mkdir -p "$TEST_DIR"
47
cd "$TEST_DIR"
@@ -46,9 +50,6 @@ main() {
50
print_success "Initialized project"
51
48
52
# Install CLI from workspace (detect monorepo root)
49
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
- MONOREPO_ROOT="${SCRIPT_DIR}"
-
53
if [ -d "$MONOREPO_ROOT/packages/cli" ]; then
54
pnpm add -D "$MONOREPO_ROOT/packages/cli"
55
print_success "Installed @objectdocs/cli from local workspace"
0 commit comments