Skip to content

Commit cb8f2c5

Browse files
author
Brian J. Cardiff
authored
Avoid requiring shards to build shards (#71)
1 parent c8495fb commit cb8f2c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

linux/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ARG musl_target
9494
RUN git clone https://github.com/crystal-lang/shards \
9595
&& cd shards \
9696
&& git checkout ${shards_version} \
97-
&& shards install --production \
97+
&& make lib \
9898
\
9999
&& /crystal/bin/crystal build --stats --target ${musl_target} \
100100
./src/shards.cr -o shards --static ${release:+--release} \

omnibus/config/software/shards.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
env = with_standard_compiler_flags(with_embedded_path)
3737

3838
build do
39-
command "#{Dir.pwd}/shards-#{ohai['os']}-#{ohai['kernel']['machine']} install --production", env: env
39+
command "make lib", env: env
4040

4141
command "#{install_dir}/bin/crystal" \
4242
" build" \

0 commit comments

Comments
 (0)