Sha256: de9514c22272df60431df569c7003b74a2d8b4e5671350b5a3347ed280a4297e

Contents?: true

Size: 1.45 KB

Versions: 16

Compression:

Stored size: 1.45 KB

Contents

# xCrystal [![Build Status](https://travis-ci.org/exercism/crystal.svg?branch=master)](https://travis-ci.org/exercism/crystal)

Exercism problems in Crystal.

## The Tests

### All Exercises

Run all Exercises with:
```bash
$ make test
```

### Single Exercises

Run single Exercises with:
```bash
$ make test-exercise EXERCISE=exercise-name
```

## The Test Generator

### Creating a New Generator

Navigate to `generator/src/generators` and create a new generator file (i.e. `hello_world.cr`).

This file should contain 2 classes:
* An exercise generator which must inherit from the ExerciseGenerator class.
* A test case class which inherits from ExerciseTestCase.

The x-common repo must reside at the same level as the developer's crystal directory, and must contain a canonical-data.json file for the given exercise.

### Running the Generator

From within the crystal directory:
```bash
$ crystal generator/generate.cr hello-world
```

Or build a binary:
```bash
$ make build-generator
$ bin/generate-exercise hello-world
```

## Contributing Guide

Please see the [contributing guide](https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md#the-exercise-data)


### Crystal logo
The Crystal logo is assumed to be owned by Manas SA. It appears to be released under version 2.0 of the Apache license, along with the Crystal codebase. It may also fall within the public domain, since the version we are using is a geometric shape. We have cropped it for use on Exercism.

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trackler-2.2.1.6 tracks/crystal/README.md
trackler-2.2.1.5 tracks/crystal/README.md
trackler-2.2.1.4 tracks/crystal/README.md
trackler-2.2.1.3 tracks/crystal/README.md
trackler-2.2.1.2 tracks/crystal/README.md
trackler-2.2.1.1 tracks/crystal/README.md
trackler-2.2.1.0 tracks/crystal/README.md
trackler-2.2.0.6 tracks/crystal/README.md
trackler-2.2.0.5 tracks/crystal/README.md
trackler-2.2.0.4 tracks/crystal/README.md
trackler-2.2.0.3 tracks/crystal/README.md
trackler-2.2.0.2 tracks/crystal/README.md
trackler-2.2.0.1 tracks/crystal/README.md
trackler-2.2.0.0 tracks/crystal/README.md
trackler-2.1.0.55 tracks/crystal/README.md
trackler-2.1.0.54 tracks/crystal/README.md