Skip to content

Commit

Permalink
Merge pull request #134 from iRail/development
Browse files Browse the repository at this point in the history
Laravel update
  • Loading branch information
Pieter Colpaert committed Aug 22, 2015
2 parents 8d9bdac + 1b32672 commit 1e24cd3
Show file tree
Hide file tree
Showing 168 changed files with 10,915 additions and 3,810 deletions.
19 changes: 19 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ app/database/testing.sqlite
bootstrap/compiled.php
composer.phar
docs/api.apib
public/app/js
public/builds
public/styleguide
app/tests/meta/coverage


# Development
.idea
.sublimets
sftp-config.json
.env.*.php
.env.
.env.php
.vagrant
_ide_helper.php

# Dotfiles
.DS_Store
Thumbs.db

.env
bower_components
16 changes: 8 additions & 8 deletions .grunt/assets/concat.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
css: {
css: {
files: {
'<%= paths.compiled.css %>/main.css': [
'<%= components %>/fontawesome/css/font-awesome.min.css',
Expand All @@ -9,9 +9,9 @@ module.exports = {
],
},
},
js: {
files: {
'<%= paths.compiled.js %>/scripts.js': [
js: {
files: {
'<%= paths.compiled.js %>/scripts.js': [
'<%= paths.components.jquery %>',
'<%= paths.components.angular %>',

Expand All @@ -21,8 +21,8 @@ module.exports = {
'<%= components %>/angular-bootstrap/ui-bootstrap-tpls.min.js',


'<%= paths.original.js %>/**/*.js',
],
},
}
'<%= paths.original.js %>/**/*.js',
],
},
}
};
44 changes: 22 additions & 22 deletions .grunt/assets/copy.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
module.exports = {
dist: {
files: [
{
expand : true,
src : ['**'],
cwd : '<%= paths.components.bootstrap.fonts %>',
dest : '<%= paths.compiled.fonts %>'
},
{
expand : true,
src : ['**'],
cwd : '<%= components %>/fontawesome/fonts',
dest : '<%= paths.compiled.fonts %>'
},
{
expand : true,
src : ['**'],
cwd : '<%= paths.original.fonts %>',
dest : '<%= paths.compiled.fonts %>'
},
]
}
dist: {
files: [
{
expand : true,
src : ['**'],
cwd : '<%= paths.components.bootstrap.fonts %>',
dest : '<%= paths.compiled.fonts %>'
},
{
expand : true,
src : ['**'],
cwd : '<%= components %>/fontawesome/fonts',
dest : '<%= paths.compiled.fonts %>'
},
{
expand : true,
src : ['**'],
cwd : '<%= paths.original.fonts %>',
dest : '<%= paths.compiled.fonts %>'
},
]
}
};
20 changes: 10 additions & 10 deletions .grunt/compression/autoprefixer.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
options: {
browsers: ['> 1%', 'last 2 versions']
},
options: {
browsers: ['> 1%', 'last 2 versions']
},

dist: {
expand : true,
cwd : '<%= paths.original.css %>',
src : '*.css',
dest : '<%= paths.original.css %>',
ext : '.css'
}
dist: {
expand : true,
cwd : '<%= paths.original.css %>',
src : '*.css',
dest : '<%= paths.original.css %>',
ext : '.css'
}
};
14 changes: 7 additions & 7 deletions .grunt/compression/cssmin.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
minify: {
expand : true,
cwd : '<%= paths.compiled.css %>',
src : '*.css',
dest : '<%= paths.compiled.css %>',
ext : '.min.css'
}
minify: {
expand : true,
cwd : '<%= paths.compiled.css %>',
src : '*.css',
dest : '<%= paths.compiled.css %>',
ext : '.min.css'
}
};
14 changes: 7 additions & 7 deletions .grunt/compression/uglify.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
dist: {
expand : true,
cwd : '<%= paths.compiled.js %>',
src : ['*.js'],
dest : '<%= paths.compiled.js %>',
ext : '.min.js',
}
dist: {
expand : true,
cwd : '<%= paths.compiled.js %>',
src : ['*.js'],
dest : '<%= paths.compiled.js %>',
ext : '.min.js',
}
};
32 changes: 16 additions & 16 deletions .grunt/development/watch.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
module.exports = {
options: {
livereload : true,
interrupt : true,
},
options: {
livereload : true,
interrupt : true,
},

grunt: {
files: ['Gruntfile.js', '<%= grunt %>/**/*'],
tasks: 'default',
},
js: {
files: ['<%= paths.original.js %>/**/*'],
tasks: 'js',
},
css: {
files: '<%= paths.original.sass %>/**/*.scss',
tasks: 'css',
},
grunt: {
files: ['Gruntfile.js', '<%= grunt %>/**/*'],
tasks: 'default',
},
js: {
files: ['<%= paths.original.js %>/**/*'],
tasks: 'js',
},
css: {
files: '<%= paths.original.sass %>/**/*.scss',
tasks: 'css',
},
};
64 changes: 32 additions & 32 deletions .grunt/linting/jshint.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
module.exports = {
options: {
force : true,
browser : true,
jquery : true,
devel : true,
options: {
force : true,
browser : true,
jquery : true,
devel : true,

bitwise : true,
camelcase : true,
curly : true,
eqeqeq : true,
freeze : true,
immed : true,
indent : true,
latedef : true,
maxcomplexity : 4,
maxdepth : 3,
maxlen : 120,
maxparams : 5,
maxstatements : 15,
newcap : true,
noarg : true,
noempty : true,
nonew : true,
plusplus : true,
quotmark : true,
trailing : true,
undef : true,
unused : true,
bitwise : true,
camelcase : true,
curly : true,
eqeqeq : true,
freeze : true,
immed : true,
indent : true,
latedef : true,
maxcomplexity : 4,
maxdepth : 3,
maxlen : 120,
maxparams : 5,
maxstatements : 15,
newcap : true,
noarg : true,
noempty : true,
nonew : true,
plusplus : true,
quotmark : true,
trailing : true,
undef : true,
unused : true,

predef : ['angular', 'Modernizr','_'],
globals : {
predef : ['angular', 'Modernizr','_'],
globals : {

}
},
}
},

all: ['<%= paths.original.js %>/**/*.js', '!<%= paths.original.js %>/components/foundation.js'],
all: ['<%= paths.original.js %>/**/*.js', '!<%= paths.original.js %>/components/foundation.js'],
};
Empty file modified .grunt/sigfile.json
100755 → 100644
Empty file.
78 changes: 39 additions & 39 deletions .grunt/tasks.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
module.exports = function(grunt) {

////////////////////////////////////////////////////////////////////
/////////////////////////////// COMMANDS ///////////////////////////
////////////////////////////////////////////////////////////////////

grunt.registerTask('default', 'Build assets for local', [
'css',
'js',
'copy',
]);

grunt.registerTask('production', 'Build assets for production', [
'css',
'js',
'concat',
'minify'
]);

// Flow
////////////////////////////////////////////////////////////////////

grunt.registerTask('minify', 'Minify assets', [
'uglify',
]);

grunt.registerTask('js', 'Build scripts', [
'jshint',
'concat:js',
]);

// Assets
//////////////////////////////////////////////////////////////////////

grunt.registerTask('css', 'Build stylesheets', [
'compass:compile',
'autoprefixer',
'concat:css',
]);

};
////////////////////////////////////////////////////////////////////
/////////////////////////////// COMMANDS ///////////////////////////
////////////////////////////////////////////////////////////////////

grunt.registerTask('default', 'Build assets for local', [
'css',
'js',
'copy',
]);

grunt.registerTask('production', 'Build assets for production', [
'css',
'js',
'concat',
'minify'
]);

// Flow
////////////////////////////////////////////////////////////////////

grunt.registerTask('minify', 'Minify assets', [
'uglify',
]);

grunt.registerTask('js', 'Build scripts', [
'jshint',
'concat:js',
]);

// Assets
//////////////////////////////////////////////////////////////////////

grunt.registerTask('css', 'Build stylesheets', [
'compass:compile',
'autoprefixer',
'concat:css',
]);

};
11 changes: 0 additions & 11 deletions CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit 1e24cd3

Please sign in to comment.