Skip to content

Commit

Permalink
Fix Makefile release not install development dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
zw963 committed Apr 18, 2024
1 parent 2c1e1b5 commit 3e51802
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ENTRY_PATH := $(shell pwd)/$(shell cat shard.yml |grep main: |cut -d: -f2|cut -d
CACHE_DIR != ${COMPILER} env CRYSTAL_CACHE_DIR
CACHE_DIR := $(CACHE_DIR)/$(subst /,-,${shell echo ${ENTRY_PATH} |cut -c2-})

FLAGS ?= --progress -Dstrict_multi_assign -Dno_number_autocast
RELEASE_FLAGS ?= --progress --release -Dstrict_multi_assign -Dno_number_autocast
FLAGS ?= --progress -Dstrict_multi_assign -Dno_number_autocast -Duse_pcre2 -Dpreview_overload_order
RELEASE_FLAGS ?= --release --progress -Dstrict_multi_assign -Dno_number_autocast -Duse_pcre2 -Dpreview_overload_order

# INSTALL:
DESTDIR ?= /usr/local
Expand Down Expand Up @@ -66,8 +66,8 @@ check:
$(SHARDS) prune


lib: shard.lock
$(SHARDS) install
lib:
$(SHARDS) install --without-development

shard.lock: shard.yml
$(SHARDS) update
Expand Down

0 comments on commit 3e51802

Please sign in to comment.