Toolbox for Swift Squirrel web framework (see: Swift Squirrel)
You can install toolbox to /usr/local/bin with install.sh. If you want to install it in another directory just move executable to that directory or follow steps in Custom installation. Also check install.sh -h for help
For installation clone repositiory, cd to it and run install.sh. Make sure you have write permissions to /usr/local/bin
git clone https://github.com/Swift-Squirrel/Squirrel-ToolBox.git
cd Squirrel-ToolBox
make install
./install
This will copy result binary to /usr/local/bin and name it squirrel. After successful installation you can run squirrel help to show help
squirrel help # show help
This install toolbox to directory specified in SQUIRREL_DIR and set executable name to SQUIRREL_NAME
SQUIRREL_DIR="Your specific directory"
SQUIRREL_NAME='squirrel' #this will be new name of executable binaryAfter you set variables you can run theese commands to install toolbox
git clone https://github.com/Swift-Squirrel/Squirrel-ToolBox.git
cd Squirrel-ToolBox
swift package resolve && swift build -c release && mv .build/release/SquirrelToolBox "$SQUIRREL_DIR/$SQUIRREL_NAME"
if [[ $? != 0 ]]; then echo "Installation failed"; else echo "Installation successful"; fiAfter this you should make alias or export path in your .bashrc
Toolbox can generate new templates for squirrel framework (squirrel create), manage running app (squirrel serve, squirrel stop, squirrel ps) or watch for changes in directory and rebuild, rerun on changes (squirrel watch)
For help run
squirrel helpFor specific command help you can run squirrel <command> -h for example for create command it is
squirrel create -h- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
- Filip Klembara - Creator - github
See also the list of contributors who participated in this project.
This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details