Sha256: c5fd2c965dd7509c34185aa879fabc35a6fb2e256952871419649a579ed64ea2

Contents?: true

Size: 344 Bytes

Versions: 5

Compression:

Stored size: 344 Bytes

Contents

#!/usr/bin/env bash

if [ $# -eq 0 ]; then
    echo "No arguments supplied"
    exit 2
fi

./extract-code-blocks.sh examples $1

bundle install
ls examples/$1/*/*.rbbeta | xargs -P $(($(nproc)*2)) -n 1 bundle exec ruby -cw && bundle exec rubocop examples/$1/*/*.rbbeta
if [ $? -ne 0 ]; then
    echo -e "Failed to build examples"
    exit 1
fi

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-1.4.0 check-examples.sh
datadog_api_client-1.3.0 check-examples.sh
datadog_api_client-1.2.0 check-examples.sh
datadog_api_client-1.1.0 check-examples.sh
datadog_api_client-1.0.0 check-examples.sh