diff --git a/README.md b/README.md index 4b65cbd..7b315e5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# tmpl templates +# License Template -Check out the various branches for some basic examples of templates. +A basic License template for [tmpl](https://gitea.com/jolheiser/tmpl) ## License diff --git a/template.toml b/template.toml index 1507fc7..6cee098 100644 --- a/template.toml +++ b/template.toml @@ -1,6 +1,2 @@ -# template.toml -# Write any template args here to prompt the user for, giving any defaults/options as applicable - -name = "MyProject" - -lang = ["Go", "Rust", "Python"] +name = "" +year = "2020" diff --git a/template/.gitkeep b/template/.gitkeep deleted file mode 100644 index b4bd1aa..0000000 --- a/template/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -Delete this file and put something else here! \ No newline at end of file diff --git a/template/LICENSE b/template/LICENSE new file mode 100644 index 0000000..7deece9 --- /dev/null +++ b/template/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) {{year}} {{name}} + +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.