Rename app to src

This commit is contained in:
QWp6t
2015-12-19 16:52:05 -08:00
committed by Ben Word
parent 9283bbbfb3
commit f752470b33
14 changed files with 8 additions and 8 deletions

View File

@@ -31,4 +31,4 @@ script:
- npm run jshint
- npm run jscs
- phpcs --standard=ruleset.xml --extensions=php --ignore=node_modules,bower_components,vendor -n -s .
- phpmd app text cleancode,codesize,controversial,design,naming,unusedcode
- phpmd src text cleancode,codesize,controversial,design,naming,unusedcode

View File

@@ -25,13 +25,13 @@
},
"autoload": {
"psr-4": {
"Roots\\Sage\\": "app/lib/Sage/"
"Roots\\Sage\\": "src/lib/Sage/"
},
"files": [
"app/helpers.php",
"app/setup.php",
"app/filters.php",
"app/admin.php"
"src/helpers.php",
"src/setup.php",
"src/filters.php",
"src/admin.php"
]
},
"require": {

2
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "750e0d8e05f32cf6bb431d9406037c7a",
"hash": "7bb0b8d676ed7c711aca81f0c9e65355",
"content-hash": "d0ce163b056002fe67c8e8036573e276",
"packages": [
{

View File

@@ -244,7 +244,7 @@ gulp.task('clean', require('del').bind(null, [path.dist]));
// See: http://www.browsersync.io
gulp.task('watch', function() {
browserSync.init({
files: ['{app,templates}/**/*.php'],
files: ['{src,templates}/**/*.php'],
proxy: config.devUrl,
snippetOptions: {
whitelist: ['/wp-admin/admin-ajax.php'],