SquirrelToolBox

0.1.0

Toolbox for Squirrel framework
Swift-Squirrel/Squirrel-ToolBox

What's New

Hello World!

2017-10-09T14:58:04Z

This is first release of toolbox for amazing Swift Squirrel web framework. Enjoy it! :D

CircleCI platform SPM swift

Squirrel-ToolBox

Toolbox for Swift Squirrel web framework (see: Swift Squirrel)

Installing

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

Installation script

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

Custom directory installation

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 binary

After 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"; fi

After this you should make alias or export path in your .bashrc

Usage

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 help

For specific command help you can run squirrel <command> -h for example for create command it is

squirrel create -h

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Authors

  • Filip Klembara - Creator - github

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 17 2024 08:14:16 GMT-0900 (Hawaii-Aleutian Daylight Time)