From eacb9308a7266dcb169b5372cbfa122ed71baf11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Sat, 15 Jul 2023 10:07:15 +0200 Subject: [PATCH] Utilize shards' `executables` There's no need for copying the executables manually (which happens in both makefile targets `bin` and `run_file`). Shards' `executables` takes care of that. The makefile targets could potentially be dropped as well, I don't think there would be other uses case for those. --- shard.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shard.yml b/shard.yml index 5fa36b7a..9178a182 100644 --- a/shard.yml +++ b/shard.yml @@ -10,10 +10,11 @@ targets: scripts: # TODO: remove pre-compiled executable in future releases - postinstall: make bin && make run_file + postinstall: make build executables: - ameba + - ameba.cr crystal: "~> 1.7.0"