From d8f2f1e20d7f1bb0428e68a1608a4492a29560a6 Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 23 Dec 2018 00:04:55 -0500 Subject: [PATCH] Add license + CI --- .circleci/config.yml | 22 ++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .circleci/config.yml create mode 100644 LICENSE diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c0e151d --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,22 @@ +version: 2 +jobs: + build: + docker: + - image: rustlang/rust:nightly-slim + + steps: + - checkout + + - restore_cache: + key: project-cache + + - run: + name: Test + command: cargo check + + - save_cache: + key: project-cache + paths: + - "~/.cargo" + - "./target" + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e76093c --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Gregory + +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.