Commit graph

238 commits

Author SHA1 Message Date
Katrina Owen
3a2621af3a Merge pull request #156 from exercism/generate-readme
Generate static exercise README templates
2017-07-28 21:14:11 -06:00
Katrina Owen
6151955420 Generate static exercise README templates
We are working towards making exercises stand-alone. That is to say: no more generating READMEs on the fly.

This will give maintainers more control over each individual exercise README, and it will also make some of the backend logic for delivering exercises simpler.

The README template uses the Go text/template package, and the default templates generate the same READMEs as we have been generating on the fly.  See the documentation in [regenerating exercise readmes][regenerate-docs] for details.

The READMEs can be generated at any time using a new 'generate' command in configlet. This command has not yet landed in master or been released, but can be built from source in the generate-readmes branch on [configlet][].

[configlet]: https://github.com/exercism/configlet
[regenerate-docs]: https://github.com/exercism/docs/blob/master/maintaining-a-track/regenerating-exercise-readmes.md
2017-07-16 13:24:35 -06:00
Katrina Owen
f7cd1f331c Add default exercise readme template 2017-07-16 13:24:35 -06:00
Erik Simmler
9439712e42 Merge pull request #154 from exercism/configlet-subcommand
Call configlet subcommand on CI
2017-07-09 14:48:06 -04:00
Katrina Owen
5cc237a332 Call configlet subcommand on CI
This changes configlet to pass a subcommand.

For now, we've released a version of configlet which handles both the old command:

    configlet path/to/track

as well as the new command:

    configlet lint path/to/track

This will let us update all the travis files to include the subcommand before we
release the version of configlet that requires the subcommand.
2017-07-09 12:12:17 -06:00
Erik Simmler
505be0c663 Merge pull request #144 from tgecho/etl
Add etl exercise
2017-07-07 21:09:10 -04:00
Erik Simmler
c3a8a8ec85 Add etl exercise 2017-07-07 21:08:40 -04:00
Erik Simmler
eeeab525b9 Merge pull request #152 from iamvery/skip-tests
Skip all but first test of each example
2017-07-07 20:37:14 -04:00
Erik Simmler
be936a14d4 Merge branch 'master' into skip-tests 2017-07-07 20:37:02 -04:00
Erik Simmler
8b5ef02a1e Add a bit of documentation for the test skips 2017-07-07 20:35:54 -04:00
Erik Simmler
1ebbaae152 Remove skips from tests before checking in CI
This is a bit gross, but I think optimizing for the end users is important enough to justify the dance.
2017-07-07 20:23:32 -04:00
Erik Simmler
2125fcf43c Merge pull request #153 from iamvery/triangle-version-test
Add version test to triangle exercise
2017-07-07 20:09:12 -04:00
Jay Hayes
7b3e9e4cb2 Skip at describe level for generated tests 2017-07-07 15:43:28 -05:00
Jay Hayes
965a615782 Don't skip first _actual_ test
I failed to notice with the initial commit that the first tests in these
files are just the "version sanity check". This should start learners
off with a useful first failure.
2017-07-07 15:42:31 -05:00
Jay Hayes
fff2196a6d Expose version func from Triangle module to tests 2017-07-07 12:24:16 -05:00
Erik Simmler
604908a29c Merge pull request #150 from iamvery/watch-tests
Add "watch" command to all exercises
2017-07-06 20:01:51 -04:00
Jay Hayes
183847554f Add version test to triangle exercise
This follows the pattern set by some of the other exercises.
2017-07-06 07:19:14 -05:00
Jay Hayes
4d81104a85 Skip all but first test of each example
This allows learners to gradually approach exercise. However, unlike
commented tests, the Elm compiler is still able to infer type
information from the skipped tests.
2017-07-05 15:35:15 -05:00
Jay Hayes
03d20b5005 Add "watch" command to all exercises 2017-07-05 06:22:37 -05:00
Erik Simmler
d76d7ecb7b Merge pull request #149 from exercism/rename-repo
Remove leading 'x' from repository name
2017-06-20 20:16:57 -04:00
Erik Simmler
39fa03b9b8 Remove leading “x” from the repository field of all exercise elm-package.json field 2017-06-20 20:08:47 -04:00
Katrina Owen
51cd0970f1 Clean up references to old repository name [skip ci]
We renamed the language track repositories, removing the leading 'x',
as this is cleaner and more understandable.

This does minor cleanup to fix references to the old name.
2017-06-18 16:08:19 -06:00
Katrina Owen
b3a6f50b73 Remove leading 'x' from repository name
The leading 'x' is kind of arbitrary. Especially now that we can set
topics on the repositories, we don't need a pattern to distinguish what
is a track or not.

The repository itself has already been renamed. GitHub redirects from
the old name to the new name, so we do not have to rush to fix links to
the old repository name, though we should update them for the sake of
clarity.
2017-06-18 10:55:48 -06:00
Katrina Owen
d4317f0047 Merge pull request #147 from exercism/ignore-key
Delete ignored key from config.json
2017-06-16 09:12:28 -06:00
Katrina Owen
5f464214f4 Delete ignored key from config.json
Since the exercise implementations are all in the exercises directory
we no longer need to ignore any non-exercise directories in the root
of the track.
2017-06-16 09:08:19 -06:00
Katrina Owen
d4e0aa2ce0 Merge pull request #148 from exercism/normalize-config
Normalize format of config file
2017-06-16 09:05:20 -06:00
Katrina Owen
dcbe746f66 Normalize format of config file
This will let us script changes to it with less noise in the diffs.
2017-06-10 11:45:22 -06:00
Erik Simmler
2ce61e7347 Merge pull request #146 from exercism/readme-insert
Rename the global exercise hints file
2017-06-10 11:10:51 -04:00
Katrina Owen
1e5530ba48 Rename the global exercise hints file
We've had some difficulty coming up with a good name for the file
that gets included in all of the exercise READMEs for a given track.

These are global hints, like how to run the test suite, which are
relevant to all the exercises on a track.

We started with SETUP.md in the root of the repository, then renamed
that to exercises/TRACK_HINTS.md because SETUP.md was misleading and
confusing, but then we realized that TRACK_HINTS.md was a bit ambiguous
and confusing as well.

Finally we settled on putting the file in the docs directory, since
this is user-facing documentation, and calling the file
EXERCISE_README_INSERT.md

See https://github.com/exercism/meta/issues/5 for context.
2017-06-09 11:08:12 -06:00
Erik Simmler
f73808e6a2 Merge pull request #145 from exercism/license
Remove license info from README
2017-05-30 11:26:04 -04:00
Katrina Owen
8e060ec80c Reassign copyright to Exercism legal entity 2017-05-29 08:56:27 -06:00
Katrina Owen
3ed4778a63 Remove license info from README
We don't need the duplication, especially now that the GitHub interface shows the
license information on the main page of the repository when it can be detected
directly from the LICENSE file.
2017-05-29 08:56:27 -06:00
Erik Simmler
dd82c5f52d Merge pull request #143 from tgecho/elm-format-0.6.1
Update elm-format to latest “stable” version (0.6.1-alpha)
2017-05-28 15:26:47 -04:00
Erik Simmler
be214210cc Update elm-format to latest “stable” version (0.6.1-alpha) 2017-05-28 15:19:33 -04:00
Erik Simmler
6e33e3dc16 Merge pull request #142 from tgecho/grains-fork
Grains exercise
2017-05-28 15:13:02 -04:00
Erik Simmler
e908e0dd7a Add a note about the missing high value grains test cases 2017-05-28 15:02:13 -04:00
Erik Simmler
e3ef09ce99 Update grains for elm-test 0.18.3 compatibility 2017-05-28 14:51:51 -04:00
Erik Schierboom
b98c4dbacb Add grains exercise 2017-05-28 14:47:33 -04:00
Erik Simmler
dcc2c05ed8 Merge pull request #141 from tgecho/stale-bot
Enable probot/stale integration
2017-05-28 14:27:00 -04:00
Erik Simmler
384f132ee9 Enable probot/stale integration
Fixes #134
2017-05-28 13:55:13 -04:00
Erik Simmler
1484e6ce2d Merge pull request #140 from tgecho/pin-npm-deps
Pin all npm dependancies to specific versions
2017-05-28 13:20:44 -04:00
Erik Simmler
7a7ed8ba91 Pin all npm dependancies to specific versions 2017-05-28 13:16:19 -04:00
Erik Simmler
b267bb3f8e Merge pull request #139 from zwilias/master
Update tests format for elm-test 0.18.3 (#138)
2017-05-28 13:15:29 -04:00
Erik Simmler
77ebccf43c Download an xelm local copy of elm-format and use that to ensure consistent versioning 2017-05-28 08:14:40 +02:00
Erik Simmler
d4521ec03d Update contributor docs 2017-05-28 08:14:40 +02:00
Erik Simmler
2ff013304a Ensure individual exercise elm-package.json files are tested in CI
Also removes need to manage a centralized elm-package.json
2017-05-28 08:14:40 +02:00
ilias
6987b636ad Speed up travis 2017-05-28 08:14:40 +02:00
ilias
9cf23c2804 Speed up ./bin/build.sh 2017-05-28 08:14:40 +02:00
ilias
19e1094362 Test name reuse 2017-05-28 08:14:40 +02:00
ilias
fbb64e1576 Support for new elm-test version 2017-05-28 08:14:40 +02:00