1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-04 13:59:54 +00:00
janet/.github/cosmo/build
2024-04-20 22:35:04 -05:00

13 lines
314 B
Bash

#!/bin/sh
set -eux
# copy janet recipe
mkdir -p /sc/superconfigure/janet
cp ./.github/cosmo/recipe.mk /sc/superconfigure/janet/BUILD.mk
echo 'include janet/BUILD.mk' >> /sc/superconfigure/custom.mk
# build janet with cosmopolitan libc
export SOURCE_DIR=$(realpath .)
cd /sc/superconfigure
make o/janet/built.fat