diff --git a/distribution/.gitignore b/distribution/.gitignore new file mode 100644 index 0000000..9c0d8ae --- /dev/null +++ b/distribution/.gitignore @@ -0,0 +1,3 @@ +target +nu +nu_plugin_* diff --git a/distribution/LICENSE b/distribution/LICENSE new file mode 100644 index 0000000..1ecbafd --- /dev/null +++ b/distribution/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 - 2025 The Nushell Project Developers + +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/distribution/README.txt b/distribution/README.txt new file mode 100644 index 0000000..356c39c --- /dev/null +++ b/distribution/README.txt @@ -0,0 +1,3 @@ +To use Nu plugins, use the register command to tell Nu where to find the plugin. For example: + +> register ./nu_plugin_query \ No newline at end of file diff --git a/distribution/collect.sh b/distribution/collect.sh new file mode 100755 index 0000000..1fa1d96 --- /dev/null +++ b/distribution/collect.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cp -v ../nushell/target/release/nu . +cp -v ../nu_plugin_*/target/release/nu_plugin_* . +rm -f nu_plugin_*.d