sh-script-builder
此 cli 实用程序将 sh 项目目录构建到 .tar 文件中。
全局安装
$ npm install -g @77io/sh-script-builder
通过运行项目结构
此工具以下列方式设置您的项目,以便此实用程序正常工作
- project-name
- index.sh <- entry point for script. invoke modules here
- modules <- put all modules here
- assets <- put all required assets here
tar 结构
- project-name.tar
- index.sh <- entry point for the script
- assets <- holds all required assets for the script
调用脚本
$ sh-script-build /path/to/your/project outputName.tgz
sh-script-builder
This cli utility builds a sh project directory into a .tar file.
Install this globally by running
$ npm install -g @77io/sh-script-builder
Project structure
Setup your project in the following way for this utility to work correctly
- project-name
- index.sh <- entry point for script. invoke modules here
- modules <- put all modules here
- assets <- put all required assets here
tar structure
- project-name.tar
- index.sh <- entry point for the script
- assets <- holds all required assets for the script
Invoking the script
$ sh-script-build /path/to/your/project outputName.tgz