Rename app to src
This commit is contained in:
@@ -31,4 +31,4 @@ script:
|
|||||||
- npm run jshint
|
- npm run jshint
|
||||||
- npm run jscs
|
- npm run jscs
|
||||||
- phpcs --standard=ruleset.xml --extensions=php --ignore=node_modules,bower_components,vendor -n -s .
|
- 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": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Roots\\Sage\\": "app/lib/Sage/"
|
"Roots\\Sage\\": "src/lib/Sage/"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"app/helpers.php",
|
"src/helpers.php",
|
||||||
"app/setup.php",
|
"src/setup.php",
|
||||||
"app/filters.php",
|
"src/filters.php",
|
||||||
"app/admin.php"
|
"src/admin.php"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"require": {
|
"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",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "750e0d8e05f32cf6bb431d9406037c7a",
|
"hash": "7bb0b8d676ed7c711aca81f0c9e65355",
|
||||||
"content-hash": "d0ce163b056002fe67c8e8036573e276",
|
"content-hash": "d0ce163b056002fe67c8e8036573e276",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ gulp.task('clean', require('del').bind(null, [path.dist]));
|
|||||||
// See: http://www.browsersync.io
|
// See: http://www.browsersync.io
|
||||||
gulp.task('watch', function() {
|
gulp.task('watch', function() {
|
||||||
browserSync.init({
|
browserSync.init({
|
||||||
files: ['{app,templates}/**/*.php'],
|
files: ['{src,templates}/**/*.php'],
|
||||||
proxy: config.devUrl,
|
proxy: config.devUrl,
|
||||||
snippetOptions: {
|
snippetOptions: {
|
||||||
whitelist: ['/wp-admin/admin-ajax.php'],
|
whitelist: ['/wp-admin/admin-ajax.php'],
|
||||||
|
|||||||
Reference in New Issue
Block a user