Sha256: 530613eb5c119d23065da980ab32e512ec427a06c90724d84a3703794e11c2c1

Contents?: true

Size: 1.53 KB

Versions: 155

Compression:

Stored size: 1.53 KB

Contents

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

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 `src/generator/exercises` 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 xcrystal directory:
```bash
$ crystal src/generator/generate.cr hello-world
```

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

## Contributing Guide

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

## License

The MIT License (MIT)

Copyright (c) 2016 Katrina Owen, _@kytrinyx.com

### 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

155 entries across 155 versions & 1 rubygems

Version Path
trackler-2.0.6.5 tracks/crystal/README.md
trackler-2.0.6.4 tracks/crystal/README.md
trackler-2.0.6.3 tracks/crystal/README.md
trackler-2.0.6.2 tracks/crystal/README.md
trackler-2.0.6.1 tracks/crystal/README.md
trackler-2.0.6.0 tracks/crystal/README.md
trackler-2.0.5.18 tracks/crystal/README.md
trackler-2.0.5.17 tracks/crystal/README.md
trackler-2.0.5.16 tracks/crystal/README.md
trackler-2.0.5.15 tracks/crystal/README.md
trackler-2.0.5.14 tracks/crystal/README.md
trackler-2.0.5.13 tracks/crystal/README.md
trackler-2.0.5.12 tracks/crystal/README.md
trackler-2.0.5.11 tracks/crystal/README.md
trackler-2.0.5.10 tracks/crystal/README.md
trackler-2.0.5.9 tracks/crystal/README.md
trackler-2.0.5.8 tracks/crystal/README.md
trackler-2.0.5.7 tracks/crystal/README.md
trackler-2.0.5.6 tracks/crystal/README.md
trackler-2.0.5.5 tracks/crystal/README.md