configlet

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2015 License: MIT Imports: 4 Imported by: 0

README

Configlet

This is a tool to help verify that an exercism problem repository is valid and up to date.

There are three common problems that occur:

  1. The config.json might be invalid.
  2. Problems might be implemented (test suite + example solution), but not configured.
  3. Slugs in the configuration might not have a corresponding problem.

Usage

$ configlet path/to/problem/repository

License

The MIT License (MIT)

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

Documentation

Overview

Command configlet sanity-checks Exercism track configuration.

The binary is distributed with each track repository. The repositories are located at github.com/exercism/x<TRACK>.

The command also runs on Travis-CI.

See http://exercism.io for more information about the project.

Compile the CLI:

$ go build -o out/configlet

Run the command:

$ path/to/configlet path/to/track

Cross-compile using the build script:

$ bin/build

To verify the command, use the fixture files:

$ go build -o out/configlet
$ out/configlet configlet/fixtures/track

The command should exit with status 1, and output a list of issues.

Directories

Path Synopsis
Package configlet sanity-checks Exercism track configuration.
Package configlet sanity-checks Exercism track configuration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL