Sha256: d7b1404e5fb255704d924bbdd86329885d1c09d51ae777de40c6afd32845813c

Contents?: true

Size: 1.44 KB

Versions: 27

Compression:

Stored size: 1.44 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)


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

27 entries across 27 versions & 1 rubygems

Version Path
trackler-2.1.0.53 tracks/crystal/README.md
trackler-2.1.0.52 tracks/crystal/README.md
trackler-2.1.0.51 tracks/crystal/README.md
trackler-2.1.0.50 tracks/crystal/README.md
trackler-2.1.0.49 tracks/crystal/README.md
trackler-2.1.0.48 tracks/crystal/README.md
trackler-2.1.0.47 tracks/crystal/README.md
trackler-2.1.0.46 tracks/crystal/README.md
trackler-2.1.0.45 tracks/crystal/README.md
trackler-2.1.0.44 tracks/crystal/README.md
trackler-2.1.0.43 tracks/crystal/README.md
trackler-2.1.0.42 tracks/crystal/README.md
trackler-2.1.0.41 tracks/crystal/README.md
trackler-2.1.0.40 tracks/crystal/README.md
trackler-2.1.0.39 tracks/crystal/README.md
trackler-2.1.0.38 tracks/crystal/README.md
trackler-2.1.0.37 tracks/crystal/README.md
trackler-2.1.0.36 tracks/crystal/README.md
trackler-2.1.0.34 tracks/crystal/README.md
trackler-2.1.0.33 tracks/crystal/README.md