Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bats/01-shards.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

local OLD_SHARDS_OPTS=$SHARDS_OPTS
local OLD_SHARDS_OVERRIDE=$SHARDS_OVERRIDE
export USER=shardsuser # required for fossil
make
unset SHARDS_OPTS
unset SHARDS_OVERRIDE
Expand Down
13 changes: 7 additions & 6 deletions bats/20-crystal-ext.bats
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
popd
}

@test "crystal_lib specs" {
pushd $REPOS_DIR/crystal-lang/crystal_lib
shards
crystal spec
popd
}
# DISABLED: crystal_lib dependency clang.cr is incompatible with LLVM > 8
# @test "crystal_lib specs" {
# pushd $REPOS_DIR/crystal-lang/crystal_lib
# shards
# crystal spec
# popd
# }
2 changes: 1 addition & 1 deletion bats/80-tutorials.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

for src in creational/*.cr structural/*.cr behavioral/*.cr
do
(set -x; crystal run $src)
crystal run $src
done

popd
Expand Down
4 changes: 3 additions & 1 deletion scripts/10-clone-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ function gh_clone {
fi
}

override_shard db crystal-lang/crystal-db v0.10.1
# Override due to conflict in Lucky dependencies:
# Error shard name (cry) has ambiguous sources: 'git: https://github.com/luckyframework/cry.git' and 'git: https://github.com/paulcsmith/cry.git'.
override_shard cry luckyframework/cry

gh_clone crystal-lang/crystal
gh_clone crystal-lang/shards
Expand Down