mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Uploading and preparing the repository to the dev version.
Original unminified source code (dev folder - js, css, less) (fixes #6) Grunt build system Multiple identities correction (fixes #9) Compose html editor (fixes #12) New general settings - Loading Description New warning about default admin password Split general and login screen settings
This commit is contained in:
parent
afad45137e
commit
4cc2207513
846 changed files with 99453 additions and 2123 deletions
53
vendors/jquery-cookie/CONTRIBUTING.md
vendored
Normal file
53
vendors/jquery-cookie/CONTRIBUTING.md
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
##Issues
|
||||
|
||||
- Report issues or feature requests on [GitHub Issues](https://github.com/carhartl/jquery-cookie/issues).
|
||||
- If reporting a bug, please add a [simplified example](http://sscce.org/).
|
||||
|
||||
##Pull requests
|
||||
- Create a new topic branch for every separate change you make.
|
||||
- Create a test case if you are fixing a bug or implementing an important feature.
|
||||
- Make sure the build runs successfully.
|
||||
|
||||
## Development
|
||||
|
||||
###Tools
|
||||
We use the following tools for development:
|
||||
|
||||
- [Qunit](http://qunitjs.com/) for tests.
|
||||
- [NodeJS](http://nodejs.org/download/) required to run grunt and the test server only.
|
||||
- [Grunt](http://gruntjs.com/getting-started) for task management.
|
||||
|
||||
###Getting started
|
||||
Install [NodeJS](http://nodejs.org/).
|
||||
Install globally grunt-cli using the following command:
|
||||
|
||||
$ npm install -g grunt-cli
|
||||
|
||||
Browse to the project root directory and install the dev dependencies:
|
||||
|
||||
$ npm install -d
|
||||
|
||||
To execute the build and tests run the following command in the root of the project:
|
||||
|
||||
$ grunt
|
||||
|
||||
You should see a green message in the console:
|
||||
|
||||
Done, without errors.
|
||||
|
||||
###Tests
|
||||
You can also run the tests in the browser.
|
||||
Start a test server from the project root:
|
||||
|
||||
$ node test/server.js
|
||||
|
||||
Open the following URL in a browser:
|
||||
|
||||
$ open http://0.0.0.0:8124/test/index.html
|
||||
|
||||
_Note: we recommend cleaning all the browser cookies before running the tests, that can avoid false positive failures._
|
||||
|
||||
###Automatic build
|
||||
You can build automatically after a file change using the following command:
|
||||
|
||||
$ grunt watch
|
||||
Loading…
Add table
Add a link
Reference in a new issue