Sha256: b8dfc253e21aaafaa30be417ef12c69c8f30e78dcabe853b5a3d25608b5f0579

Contents?: true

Size: 436 Bytes

Versions: 124

Compression:

Stored size: 436 Bytes

Contents

#!/bin/sh

repo=$(cd "$(dirname "$0")/.." && pwd)

missing=""

for dir in $repo/exercises/*/; do
  exercise=$(basename "$dir")
  if [ ! -f $dir/src/lib.rs ]; then
    # https://github.com/exercism/rust/pull/270
    echo "$exercise is missing a src/lib.rs; please create one (an empty file is acceptable)"
    missing="$missing\n$exercise"
  fi
done

if [ -n "$missing" ]; then
  echo "Exercises missing src/lib.rs:$missing"
  exit 1
fi

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.179 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.178 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.177 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.176 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.175 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.174 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.173 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.172 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.171 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.170 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.169 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.167 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.166 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.165 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.164 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.163 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.162 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.161 tracks/rust/_test/ensure-lib-src-rs-exist.sh
trackler-2.2.1.160 tracks/rust/_test/ensure-lib-src-rs-exist.sh