Skip to content

Commit

Permalink
Merge pull request #12 from inakianduaga/develop
Browse files Browse the repository at this point in the history
#9: Added gulp framework / common test tasks
  • Loading branch information
Inaki Anduaga committed Jan 16, 2015
2 parents 826c0bc + ffe1a5b commit a078b94
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ vendor
#Coverage report
coverage

#gulp
#build related
gulp
node_modules
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,18 @@ Note that you should set the models `$storageDriverConfigPath` property to point
- Use `setContent` method on the model to set the content (will be actually saved on update/save/creation)
- Use `getContent` to retrieve the actual contents


## Development & Testing

### Requirements

Install `node` & `npm`, afterwards run `npm install` to install development tools
There are several commands related to testing

### Tools

- `gulp test` : runs unit tests once
- `gulp tdd` : runs unit tests continuously once changes are detected

Both options have the ability to generate a code coverage report in different formats. When this is selected, a local server will be launched to visualize the coverage report

7 changes: 7 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

var gulp = require('gulp-help')(require('gulp'));

require('require-dir')('./gulp');

gulp.task('default', 'Default task: run build', ['help']);
53 changes: 53 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "eloquent-external-storage",
"description": "Development tools for inakianduaga/eloquent-external-storage",
"version": "0.0.1",
"homepage": "https://github.com/inakianduaga/eloquent-external-storage",
"private": true,
"author": {
"name": "Inaki Anduaga",
"email": "inaki@inakianduaga.com",
"url": "https://github.com/inakianduaga/eloquent-external-storage"
},
"repository": {
"type": "git",
"url": "https://github.com/inakianduaga/eloquent-external-storage"
},
"bugs": {
"url": "https://github.com/inakianduaga/eloquent-external-storage/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/inakianduaga/eloquent-external-storage/blob/master/LICENSE"
}
],
"dependencies": {
},
"devDependencies": {
"gulp": "^3.8.0",
"gulp-load-plugins": "^0.6.0",
"gulp-if": "^1.2.5",
"gulp-help": "^1.2.0",
"del": "^1.1.1",
"minimist": "^1.1.0",
"lazypipe": "^0.2.2",
"gulp-util": "^3.0.1",
"require-dir": "^0.1.0",
"q": "^1.1.1",
"gulp-notify": "^2.0.0",
"gulp-filter": "2.0.0",
"gulp-git": "0.5.5",
"gulp-bump": "^0.1.11",
"concurrent-transform": "^1.0.0",
"gulp-jshint": "^1.8.0",
"gulp-shell": "^0.2.11",
"aws-sdk" : "^2.1.4",
"gulp-phpunit" : "0.7.0",
"browser-sync" : "1.8.3",
"gulp-notify" : "2.1.0"
},
"engines": {
"node": ">=0.10.0"
}
}
1 change: 0 additions & 1 deletion src/config/awsS3.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
|
*/

// S3 User with only read/write object permissions on tado-website bucket.
// Remove this credentials once we have IAM credentials on the instance

'key' => 'XXX', // Your AWS Access Key ID
Expand Down

0 comments on commit a078b94

Please sign in to comment.