Skip to content

Commit 74823b2

Browse files
committed
fix docs
1 parent b52263a commit 74823b2

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@ On top of that, zap will also try to cache package manifests in order to avoid u
240240

241241
```bash
242242
git clone https://github.com/elbywan/zap
243-
crystal projects.cr spec install
243+
crystal projects.cr install
244244
# Run the specs
245245
crystal projects.cr spec
246246
# Build locally (-Dpreview_mt might not work on some os/arch)
247-
crystal projects.cr cli:build --production --release --progress -Dpreview_mt -Dexecution_context
247+
crystal projects.cr build:cli --production --release --progress -Dpreview_mt -Dexecution_context
248248
# Run the binary
249249
./packages/cli/bin/zap --help
250250
```

projects.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ run_command = ->(project : {path: String, name: String, shard_yml: YAML::Any}) d
113113
else
114114
puts "#{project_name}".colorize.red.bold
115115
puts buffer.rewind.gets_to_end if buffer.size > 0
116-
raise "Failed to run command for project #{project_name} with exit code #{status.exit_code}"
116+
raise %(Failed to run command "#{full_command}" for project #{project_name} with exit code #{status.exit_code}")
117117
end
118118
end
119119
ensure

shard.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ license: MIT
88
crystalline:
99
projects:
1010
- ./packages/**
11+
flags:
12+
- preview_mt
13+
- execution_context

0 commit comments

Comments
 (0)