File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88$ rootDir = __DIR__ . '/ ' ;
99$ sourceRootDir = $ rootDir . 'sources/Dolibarr ' ;
10+ $ sourceRootDir = '/mnt/Dev/@williamdes/@forked-repos/dolibarr ' ;
1011
1112$ iterator = Finder::create ()
1213 ->files ()
1314 ->name ('*.php ' )
1415 ->path ('htdocs ' )
1516 ->in ($ sourceRootDir );
1617
17- $ versions = GitVersionCollection::create (__DIR__ )
18+ $ versions = GitVersionCollection::create ($ sourceRootDir )
1819 ->addFromBranches ('*.0 ' );
1920
2021return new Doctum ($ iterator , [
2122 'title ' => 'Dolibarr ' ,
22- 'build_dir ' => $ rootDir . '/Dolibarr ' ,
23- 'cache_dir ' => $ rootDir . '/cache ' ,
23+ 'build_dir ' => $ rootDir . '/Dolibarr/versions/%version% ' ,
24+ 'cache_dir ' => $ rootDir . '/cache/%version% ' ,
2425 'source_dir ' => $ rootDir ,
2526 'versions ' => $ versions ,
2627 'remote_repository ' => new GitHubRemoteRepository ('dolibarr/dolibarr ' , $ sourceRootDir ),
You can’t perform that action at this time.
0 commit comments