Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

1# SPDX-License-Identifier: Apache-2.0 2# SPDX-FileCopyrightText: 2026 The Gleam contributors 3 4#!/bin/sh 5 6set -eu 7 8GLEAM_COMMAND=${GLEAM_COMMAND:-"cargo run --quiet --"} 9 10g() { 11 echo "Running: $GLEAM_COMMAND $@" 12 $GLEAM_COMMAND "$@" 13} 14 15echo Resetting the build directory to get to a known state 16rm -fr build 17 18echo Building erlang shipment 19g export erlang-shipment 20 21echo Checking that gleam_stdlib IS in the shipment 22if [ ! -d "build/erlang-shipment/gleam_stdlib" ]; then 23 echo "ERROR: gleam_stdlib should be in the shipment but was not found" 24 exit 1 25fi 26echo "gleam_stdlib found in shipment" 27 28echo Checking that hpack IS in the shipment 29echo "(hpack_erl package has otp_app=hpack, so directory is named hpack)" 30if [ ! -d "build/erlang-shipment/hpack" ]; then 31 echo "ERROR: hpack (from hpack_erl package) should be in the shipment but was not found" 32 exit 1 33fi 34echo "hpack found in shipment" 35 36echo Checking that gleeunit is NOT in the shipment 37if [ -d "build/erlang-shipment/gleeunit" ]; then 38 echo "ERROR: gleeunit is a dev dependency and should NOT be in the shipment" 39 exit 1 40fi 41echo "gleeunit correctly excluded from shipment" 42 43echo Checking that the root package IS in the shipment 44if [ ! -d "build/erlang-shipment/shipment_test" ]; then 45 echo "ERROR: shipment_test (root package) should be in the shipment but was not found" 46 exit 1 47fi 48echo "shipment_test found in shipment" 49 50echo 51echo Success! 52echo