From 401a60cab3b78ef6b77a8b02e306120043999c15 Mon Sep 17 00:00:00 2001 From: Mike Bierlee Date: Mon, 31 Oct 2022 21:46:04 +0300 Subject: [PATCH] Add project skeleton --- .gitignore | 16 ++++++++++++++++ LICENSE.txt | 19 +++++++++++++++++++ README.md | 7 +++++++ dub.json | 12 ++++++++++++ dub.selections.json | 7 +++++++ source/poodinis/valueinjector/mirage.d | 8 ++++++++ 6 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 dub.json create mode 100644 dub.selections.json create mode 100644 source/poodinis/valueinjector/mirage.d diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3931941 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +.dub +docs.json +__dummy.html +docs/ +/poodinis-mirage-config-injector +poodinis-mirage-config-injector.so +poodinis-mirage-config-injector.dylib +poodinis-mirage-config-injector.dll +poodinis-mirage-config-injector.a +poodinis-mirage-config-injector.lib +poodinis-mirage-config-injector-test-* +*.exe +*.o +*.obj +*.lst +*.pdb \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..af793f2 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2022 Mike Bierlee + +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..7a7b265 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Mirage Config injector for Poodinis + +Version 0.0.0 +Copyright 2022 Mike Bierlee +Licensed under the terms of the MIT license - See [LICENSE.txt](LICENSE.txt) + +More will follow... \ No newline at end of file diff --git a/dub.json b/dub.json new file mode 100644 index 0000000..eda0fc6 --- /dev/null +++ b/dub.json @@ -0,0 +1,12 @@ +{ + "name": "poodinis-mirage-config-injector", + "description": "A Poodinis value injector for reading config files using Mirage Config", + "authors": ["Mike Bierlee"], + "copyright": "Copyright © 2022, Mike Bierlee", + "license": "mit", + "targetType": "library", + "dependencies": { + "poodinis": "~>8.1.3", + "mirage-config": "~>1.0.0" + } +} diff --git a/dub.selections.json b/dub.selections.json new file mode 100644 index 0000000..4cfeb42 --- /dev/null +++ b/dub.selections.json @@ -0,0 +1,7 @@ +{ + "fileVersion": 1, + "versions": { + "mirage-config": "1.0.0", + "poodinis": "8.1.3" + } +} diff --git a/source/poodinis/valueinjector/mirage.d b/source/poodinis/valueinjector/mirage.d new file mode 100644 index 0000000..75cc5b0 --- /dev/null +++ b/source/poodinis/valueinjector/mirage.d @@ -0,0 +1,8 @@ +/** + * Poodinis Dependency Injection Framework + * Copyright 2022 Mike Bierlee + * This software is licensed under the terms of the MIT license. + * The full terms of the license can be found in the LICENSE file. + */ + +module poodinis.valueinjector.mirage;