chore: add bin_archives

This commit is contained in:
Jesús Pérex 2025-06-27 05:08:46 +01:00
parent 42635a7652
commit 693a9c9839
2 changed files with 5 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
wk wk
*-nushell-plugins.tar.gz #*-nushell-plugins.tar.gz
target target
distribution/nu distribution/nu
distribution/nu_plugin* distribution/nu_plugin*

View File

@ -41,14 +41,18 @@ git clone --recurse-submodules [URL-to-clone-nushell-plugin]
├── nu_plugin_kcl Repo for nu_plugin_kcl (repo sub-module) ├── nu_plugin_kcl Repo for nu_plugin_kcl (repo sub-module)
├── nu_plugin_tera Repo for nu_plugin_tera (repo sub-module) ├── nu_plugin_tera Repo for nu_plugin_tera (repo sub-module)
├── api_nu_plugin_kcl A try to use API KCL, nu_plugin_kcl is recommended option ├── api_nu_plugin_kcl A try to use API KCL, nu_plugin_kcl is recommended option
├── bin_archives Repo with plataform binaries as archives
└── README.md └── README.md
</pre> </pre>
Main values can be changed in [env](env) Main values can be changed in [env](env)
```bash ```bash
export APP_NAME=nushell-plugins
export TARGET_PATH=${TARGET_PATH:-distribution} export TARGET_PATH=${TARGET_PATH:-distribution}
export INSTALL_FILE=${INSTALL_FILE:-install_nu_plugins.nu} export INSTALL_FILE=${INSTALL_FILE:-install_nu_plugins.nu}
export INSTALL_BIN_PATH=${INSTALL_BIN_PATH:-/usr/local/bin} export INSTALL_BIN_PATH=${INSTALL_BIN_PATH:-/usr/local/bin}
export ARCHIVE_DIR_PATH=${ARCHIVE_DIR_PATH:-/tmp}
export BIN_ARCHIVES_DIR_PATH=bin_archives
``` ```
## Build and Install ## Build and Install