Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
7570afde
Commit
7570afde
authored
Mar 11, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the build command after controller namespace changes
parent
c694d32e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
build
build/build
+3
-0
ClassmapController.php
build/controllers/ClassmapController.php
+2
-0
PhpDocController.php
build/controllers/PhpDocController.php
+3
-2
No files found.
build/build
View file @
7570afde
...
@@ -23,9 +23,12 @@ if (file_exists($vendor)) {
...
@@ -23,9 +23,12 @@ if (file_exists($vendor)) {
}
}
require
(
__DIR__
.
'/../framework/Yii.php'
);
require
(
__DIR__
.
'/../framework/Yii.php'
);
Yii
::
setAlias
(
'@yii/build'
,
__DIR__
);
$application
=
new
yii\console\Application
([
$application
=
new
yii\console\Application
([
'id'
=>
'yii-build'
,
'id'
=>
'yii-build'
,
'basePath'
=>
__DIR__
,
'basePath'
=>
__DIR__
,
'controllerNamespace'
=>
'yii\build\controllers'
,
'controllerNamespace'
=>
'yii\build\controllers'
,
'enableCoreCommands'
=>
false
,
]);
]);
$application
->
run
();
$application
->
run
();
build/controllers/ClassmapController.php
View file @
7570afde
...
@@ -12,6 +12,8 @@ use yii\console\Exception;
...
@@ -12,6 +12,8 @@ use yii\console\Exception;
use
yii\helpers\FileHelper
;
use
yii\helpers\FileHelper
;
/**
/**
* Creates a class map for the core Yii classes.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
...
...
build/controllers/PhpDocController.php
View file @
7570afde
...
@@ -61,11 +61,12 @@ class PhpDocController extends Controller
...
@@ -61,11 +61,12 @@ class PhpDocController extends Controller
'/extensions/codeception/DbTestCase.php'
,
'/extensions/codeception/DbTestCase.php'
,
'/extensions/composer/'
,
'/extensions/composer/'
,
'/extensions/gii/components/DiffRendererHtmlInline.php'
,
'/extensions/gii/components/DiffRendererHtmlInline.php'
,
'/extensions/gii/generators/extension/templates/*'
,
'/extensions/twig/TwigSimpleFileLoader.php'
,
'/extensions/twig/TwigSimpleFileLoader.php'
,
'/framework/BaseYii.php'
,
'/framework/BaseYii.php'
,
'/framework/Yii.php'
,
'/framework/Yii.php'
,
'
/
tests/'
,
'tests/'
,
'
/
vendor/'
,
'vendor/'
,
];
];
}
}
$root
=
FileHelper
::
normalizePath
(
$root
);
$root
=
FileHelper
::
normalizePath
(
$root
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment