Sha256: 01312cd0a0e7153f08176da8d5c135ad811bb537d6ba5cf8e98af2aec490bc1e

Contents?: true

Size: 748 Bytes

Versions: 262

Compression:

Stored size: 748 Bytes

Contents

mkdir -p ./tmp/src
mkdir ./tmp/build


for example_file in exercises/**/example.exs
do
  exercise_dir=$(dirname $example_file)
  exercise=$(basename $exercise_dir)
  cp "$exercise_dir/example.exs" "./tmp/src/$exercise.exs"
done

elixirc -o ./tmp/build ./tmp/src/*.exs

if [ $CI ]; then
    export PLT_FILENAME=elixir-${TRAVIS_ELIXIR_VERSION:=1.3.2}_${TRAVIS_OTP_RELEASE:=19.0}.plt
    export PLT_LOCATION=./tmp/$PLT_FILENAME
    wget -O $PLT_LOCATION https://github.com/danielberkompas/travis_elixir_plts/blob/master/elixir-${TRAVIS_ELIXIR_VERSION}_${TRAVIS_OTP_RELEASE}.plt?raw=true

    dialyzer --no_check_plt --plt $PLT_LOCATION --no_native ./tmp/build;
    RESULT=$?
else
    dialyzer ./tmp/build;
    RESULT=$?
fi

rm -rf ./tmp

exit $RESULT

Version data entries

262 entries across 262 versions & 1 rubygems

Version Path
trackler-2.2.1.47 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.46 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.45 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.44 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.43 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.42 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.41 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.40 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.39 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.38 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.37 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.36 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.35 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.34 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.33 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.32 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.31 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.30 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.29 tracks/elixir/bin/dialyzer_check.sh
trackler-2.2.1.28 tracks/elixir/bin/dialyzer_check.sh