0.8.2 • Published 9 years ago

sailor-scripts v0.8.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Scripts for Sailor

Build Status Dependency status Dev Dependencies Status NPM Status Gittip

All scripts necessary for setup Sailor projects

Install

npm install sailor-scripts

Usage

scripts = require 'sailor-scripts'

API

.run(\, callback)

Run a shell command without returning the output

.exec(\, callback)

Exec a shell command and return the output or return a callback with the output.

.newBase(directory, options, callback)

Generate a new Sailor Base Proyect.

  • dir by default is process.cwd()
  • options can be: name: name of the folder project organization: name of the organization (for git repository) repository: name of the git reposository description: description for your project

By default the name and the repository is the same (testApp) and the organization is sailorjs

.newModule(directory, options, callback)

Generate a new Module for Sailor Base Proyect.

  • dir by default is process.cwd()
  • options can be: name: name of the folder project organization: name of the organization (for git repository) repository: name of the git reposository description: description for your project

By default the name and the repository is the same (testApp) and the organization is sailorjs

.link(\, \, callback)

Create a symbolic link. User for linked a module with your base.

.writeModuleFile(\, baseName, callback)

Use for write in the config/modules the name of your module. Necessary for load the module in the Sails core.

.clean(\, callback)

Clear a directory.

.lift(directory, options, callback)

Lift a project, like:

  • directory: path under start the server. by default is procress.cwd()
  • options: options to pass to sails core (like log level, node environment,...)

License

MIT © sailorjs

0.8.2

9 years ago

0.8.1

9 years ago

0.8.0

9 years ago

0.7.7

10 years ago

0.7.6

10 years ago

0.7.5

10 years ago

0.7.4-b

10 years ago

0.7.4

10 years ago

0.7.3

10 years ago

0.7.2

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago

0.5.12

10 years ago

0.5.11

10 years ago

0.5.10

10 years ago

0.5.9

10 years ago

0.5.6

10 years ago

0.5.5

10 years ago

0.5.4

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago

0.4.9

10 years ago

0.4.8

10 years ago

0.4.7

10 years ago

0.4.6

10 years ago

0.4.5

10 years ago

0.4.4

10 years ago

0.4.3

10 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.5

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago