Make `postinstall` portable

Using `shards build` directly instead of `make build` improves portability a lot.
This should basically "just work" almost anywhere (including Windows). No need for `make` to be available and makefile compatibility doesn't matter either.
This commit is contained in:
Johannes Müller 2023-07-15 10:10:42 +02:00
parent eacb9308a7
commit 15ce5437d1
No known key found for this signature in database
GPG Key ID: F0F349637AC5087A
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ targets:
scripts:
# TODO: remove pre-compiled executable in future releases
postinstall: make build
postinstall: shards build -Dpreview_mt
executables:
- ameba