Rename app to src
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
2
composer.lock
generated
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user