mirror of
				https://github.com/sitelease/sugar-cube-client.git
				synced 2025-10-31 12:02:30 +01:00 
			
		
		
		
	Moved the configuration files to a dedicated folder
This commit is contained in:
		| @ -43,9 +43,9 @@ class RoboFile extends Tasks { | ||||
|       ->addTask($this->taskFilesystemStack() | ||||
|         ->copy('CHANGELOG.md', 'doc/about/changelog.md') | ||||
|         ->copy('LICENSE.md', 'doc/about/license.md')) | ||||
|       ->addTask($this->taskExec('mkdocs build --config-file=doc/mkdocs.yml')) | ||||
|       ->addTask($this->taskExec('mkdocs build --config-file=etc/mkdocs.yml')) | ||||
|       ->addTask($this->taskFilesystemStack() | ||||
|         ->remove(['doc/about/changelog.md', 'doc/about/license.md', 'web/mkdocs.yml', 'web/phpdoc.xml'])) | ||||
|         ->remove(['doc/about/changelog.md', 'doc/about/license.md'])) | ||||
|       ->run(); | ||||
|   } | ||||
|  | ||||
| @ -56,7 +56,7 @@ class RoboFile extends Tasks { | ||||
|   function lint(): Result { | ||||
|     return $this->taskExecStack() | ||||
|       ->exec('php -l example/main.php') | ||||
|       ->exec('phpstan analyse') | ||||
|       ->exec('phpstan analyse --configuration=etc/phpstan.neon') | ||||
|       ->run(); | ||||
|   } | ||||
|  | ||||
| @ -65,7 +65,7 @@ class RoboFile extends Tasks { | ||||
|    * @return Result The task result. | ||||
|    */ | ||||
|   function test(): Result { | ||||
|     return $this->_exec('phpunit --configuration=test/phpunit.xml'); | ||||
|     return $this->_exec('phpunit --configuration=etc/phpunit.xml'); | ||||
|   } | ||||
|  | ||||
|   /** | ||||
|  | ||||
		Reference in New Issue
	
	Block a user