pantry/projects/crystal-lang.org/shim
Julien Elbaz b0babf6b46
+crystal-lang.org (#3669)
* add(crystal-lang)

* move to bootstrap

this always hurts

* oops

* linux needs explicit -z

* linux not detecting the compiler well

* Only shim build

* needs ncurses

* shim needs link flags for eval?

* need link flags for test

* maybe what eval needs is --static

* the docs are wrong

* this should do it, i think

* perhaps static linkage

* punt

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-10-22 02:07:02 -04:00

9 lines
152 B
Bash
Executable file

#!/bin/sh
cmd="$1"
shift
case "$cmd" in
build) crystal.bin "$cmd" --link-flags "${CRYSTAL_LINK_FLAGS:-}" "$@";;
*) crystal.bin "$cmd" "$@";;
esac