Removed grunt:server

It's been long enough, we can get rid of this.

Change-Id: I113095149af85a5c37327d75d3abf711adedc604
This commit is contained in:
Michael Krotscheck 2015-03-10 13:20:28 -07:00
parent 1ccee87a4a
commit 6b9d34a34d
2 changed files with 4 additions and 16 deletions

View File

@ -616,18 +616,6 @@ module.exports = function (grunt) {
'watch'
]);
/**
* Support the old non-verb form of invoking `serve` but warn.
*/
grunt.registerTask('server',
'DEPRECATED TASK. Use the "serve" task instead',
function (target) {
grunt.log.warn('The `server` task has been deprecated. Use ' +
'`grunt serve` to start a server.');
grunt.task.run(['serve:' + target]);
}
);
/**
* grunt test:integration
*

View File

@ -23,7 +23,7 @@ First of all be sure to have tox installed on your machine then:
- Source the new path containing grunt:
`source .tox/venv/bin/activate`
- Now you can launch the grunt tasks of storyboard-webclient, by default run
the development server with the following command: `grunt server`
the development server with the following command: `grunt serve`
Grunt tasks
@ -45,13 +45,13 @@ which is a plain css file is stored into `dist/styles/main.css`
- `compile`: Compiles all of our sources in the dist directory.
- `package`: Built code into a release package.
- `build`: Compile and packages our code.
- `server:dist`: This task performs a full build of our application,
- `serve:dist`: This task performs a full build of our application,
and then runs that source in a local web server. It does no watching,
it simply hosts the files.
- `server:prod`: This task is identical to 'server:dist',
- `serve:prod`: This task is identical to 'server:dist',
with the exception that it will proxy the API requests against the production
API. *USE WITH CAUTION*
- `server`: Development server - runs a build and sets up concurrent watchers
- `serve`: Development server - runs a build and sets up concurrent watchers
that will automatically lint, test, and refresh the code when a change is
detected.
- `test`: Run all the tests.