From 3e51802054ee8c7b41db23802fd041ba75940fbf Mon Sep 17 00:00:00 2001 From: "Billy.Zheng" Date: Fri, 19 Apr 2024 00:28:08 +0800 Subject: [PATCH] Fix Makefile release not install development dependencies. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f86576f..7aa4e09 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -66,8 +66,8 @@ check: $(SHARDS) prune -lib: shard.lock - $(SHARDS) install +lib: + $(SHARDS) install --without-development shard.lock: shard.yml $(SHARDS) update