Skip to content

Commit 80c83b2

Browse files
author
Brian J. Cardiff
authored
Update shards to 0.13.0 (#78)
* Update shards to v0.13.0 * Use make bin/shards
1 parent a057d1a commit 80c83b2

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

linux/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ PACKAGE_MAINTAINER = Crystal Team <[email protected]>
1919
PREVIOUS_CRYSTAL_RELEASE_LINUX64_TARGZ ?= ## url to crystal-{version}-{package}-linux-x86_64.tar.gz
2020
PREVIOUS_CRYSTAL_RELEASE_LINUX32_TARGZ ?= ## url to crystal-{version}-{package}-linux-i686.tar.gz
2121

22-
SHARDS_VERSION = v0.12.0
22+
SHARDS_VERSION = v0.13.0
2323
GC_VERSION = v8.0.4
2424
LIBATOMIC_OPS_VERSION = v7.6.10
2525

omnibus/config/software/shards.rb

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SHARDS_VERSION = "0.12.0"
1+
SHARDS_VERSION = "0.13.0"
22

33
name "shards"
44
default_version SHARDS_VERSION
@@ -34,18 +34,16 @@
3434
source md5: "c65327561cfbb0c465ec4bd945423fe9"
3535
end
3636

37+
version "0.13.0" do
38+
source md5: "a66b767ad9914472c23e1cb76446fead"
39+
end
40+
3741
source url: "https://github.com/crystal-lang/shards/archive/v#{version}.tar.gz"
3842

3943
relative_path "shards-#{version}"
4044
env = with_standard_compiler_flags(with_embedded_path)
4145

4246
build do
43-
command "make lib", env: env
44-
45-
command "#{install_dir}/bin/crystal" \
46-
" build" \
47-
" -o #{install_dir}/embedded/bin/shards" \
48-
" src/shards.cr" \
49-
" --no-debug" \
50-
" --release ", env: env
47+
make "bin/shards SHARDS=false CRYSTAL=#{install_dir}/bin/crystal FLAGS='--no-debug --release'", env: env
48+
command "cp bin/shards #{install_dir}/embedded/bin/shards"
5149
end

0 commit comments

Comments
 (0)