Bootstrap elm track

This commit is contained in:
Katrina Owen 2015-09-08 13:03:25 -06:00
commit fbf6f351a8
7 changed files with 100 additions and 0 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*.swp
.DS_Store
bin/configlet
bin/configlet.exe
CHECKLIST

5
.travis.yml Normal file
View file

@ -0,0 +1,5 @@
language: bash
script:
- bin/fetch-configlet
- bin/configlet .

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Katrina Owen, _@kytrinyx.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

18
README.md Normal file
View file

@ -0,0 +1,18 @@
# xelm
Exercism problems in Elm.
## TODO
_Document how to contribute to the Elm track._
## 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) 2015 Katrina Owen, _@kytrinyx.com

0
SETUP.md Normal file
View file

32
bin/fetch-configlet Executable file
View file

@ -0,0 +1,32 @@
#!/bin/bash
LATEST=https://github.com/exercism/configlet/releases/latest
OS=$(
case $(uname) in
(Darwin*)
echo "mac";;
(Linux*)
echo "linux";;
(Windows*)
echo "windows";;
(*)
echo "linux";;
esac)
ARCH=$(
case $(uname -m) in
(*64*)
echo 64bit;;
(*686*)
echo 32bit;;
(*386*)
echo 32bit;;
(*)
echo 64bit;;
esac)
VERSION="$(curl --head --silent $LATEST | awk -v FS=/ '/Location:/{print $NF}' | tr -d '\r')"
URL=https://github.com/exercism/configlet/releases/download/$VERSION/configlet-$OS-${ARCH}.tgz
curl -s --location $URL | tar xz -C bin/

19
config.json Normal file
View file

@ -0,0 +1,19 @@
{
"slug": "elm",
"language": "Elm",
"repository": "https://github.com/exercism/xelm",
"active": false,
"test_pattern": "TODO",
"problems": [
],
"deprecated": [
],
"ignored": [
"bin"
],
"foregone": [
]
}