feat(justfile): add phpunit recipe
				
					
				
			Add a `phpunit` recipe for running PHPUnit tests, with a `test` alias that could later be used for running Pest in PHP projects or Jest in a node project.
This commit is contained in:
		
							parent
							
								
									d45d0d6616
								
							
						
					
					
						commit
						5c6e25a660
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -6,6 +6,11 @@ default:
 | 
			
		|||
{% if "php" is same as language %}
 | 
			
		||||
composer *args:
 | 
			
		||||
  {{ "just _exec php composer {{ args }}" | raw }}
 | 
			
		||||
 | 
			
		||||
alias phpunit := test
 | 
			
		||||
 | 
			
		||||
test *args:
 | 
			
		||||
  {{ "just _run phpunit {{ args }}" | raw }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
{% if "drupal-project" is same as type %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue