From 1f5a26175bda12d8cc8370bffb163c949747f9d6 Mon Sep 17 00:00:00 2001 From: Katrina Owen Date: Mon, 20 Feb 2017 15:12:37 -0700 Subject: [PATCH] Bootstrap Vim script track --- .github/ISSUE_TEMPLATE.md | 9 +++++++++ .gitignore | 4 ++++ .travis.yml | 5 +++++ LICENSE | 21 +++++++++++++++++++++ README.md | 11 +++++++++++ SETUP.md | 0 bin/fetch-configlet | 32 ++++++++++++++++++++++++++++++++ config.json | 21 +++++++++++++++++++++ docs/ABOUT.md | 0 docs/INSTALLATION.md | 0 docs/LEARNING.md | 0 docs/RESOURCES.md | 0 docs/TESTS.md | 0 exercises/.keep | 0 img/.keep | 0 15 files changed, 103 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 SETUP.md create mode 100755 bin/fetch-configlet create mode 100644 config.json create mode 100644 docs/ABOUT.md create mode 100644 docs/INSTALLATION.md create mode 100644 docs/LEARNING.md create mode 100644 docs/RESOURCES.md create mode 100644 docs/TESTS.md create mode 100644 exercises/.keep create mode 100644 img/.keep diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..4a0b463 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,9 @@ +**What programming language should we add?** + +**What is the official website for the language?** + +**Is this a language that comes in many variants? If so, which variant should we support?** + +**Is there a testing framework available for the language?** + +**Who will be leading the effort to launch the track?** diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a513a0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.swp +.DS_Store +bin/configlet +bin/configlet.exe diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f8c3442 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: bash + +script: + - bin/fetch-configlet + - bin/configlet . diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..eee993a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Exercism, Inc + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..9d02f7d --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Exercism Vim script Track + +Exercism exercises in Vim script. + +## TODO + +_Document how to contribute to the Vim script track._ + +## Contributing Guide + +Please see the [contributing guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md). diff --git a/SETUP.md b/SETUP.md new file mode 100644 index 0000000..e69de29 diff --git a/bin/fetch-configlet b/bin/fetch-configlet new file mode 100755 index 0000000..4f64c5b --- /dev/null +++ b/bin/fetch-configlet @@ -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/ diff --git a/config.json b/config.json new file mode 100644 index 0000000..6ab2121 --- /dev/null +++ b/config.json @@ -0,0 +1,21 @@ +{ + "slug": "vimscript", + "language": "Vim script", + "repository": "https://github.com/exercism/xvimscript", + "active": false, + "test_pattern": "TODO", + "exercises": [ + + ], + "deprecated": [ + + ], + "ignored": [ + "bin", + "img", + "docs" + ], + "foregone": [ + + ] +} diff --git a/docs/ABOUT.md b/docs/ABOUT.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/LEARNING.md b/docs/LEARNING.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/RESOURCES.md b/docs/RESOURCES.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/TESTS.md b/docs/TESTS.md new file mode 100644 index 0000000..e69de29 diff --git a/exercises/.keep b/exercises/.keep new file mode 100644 index 0000000..e69de29 diff --git a/img/.keep b/img/.keep new file mode 100644 index 0000000..e69de29