File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Contributing to phpmarkup  
2+ 
3+ First off, thanks for taking the time to contribute!
4+ 
5+ For local package development use [ Docker] ( https://www.docker.com/products/docker-desktop ) :
6+ 
7+ Build Test container
8+ ``` 
9+ git clone https://github.com/Ouxsoft/phpmarkup.git 
10+ cd phpmarkup 
11+ docker build --target test --tag phpmarkup:latest -f Dockerfile . 
12+ docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ phpmarkup:latest composer install 
13+ ``` 
14+ 
15+ Run Automated Unit Tests using local volume
16+ ``` 
17+ docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ phpmarkup:latest composer test 
18+ ``` 
19+ 
20+ Run Automated Benchmark Tests using local volume
21+ ``` 
22+ docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ phpmarkup:latest ./vendor/bin/phpbench run tests/src/Benchmark --report=default 
23+ ``` 
24+ 
25+ Rebuild Docs
26+ ``` 
27+ docker build --target docs --tag phpmarkup:docs-latest -f Dockerfile . 
28+ docker run -it --mount type=bind,source="$(pwd)"/docs,target=/app/docs phpmarkup:docs-latest bash -c "doxygen Doxyfile && doxyphp2sphinx Ouxsoft::phpmarkup" 
29+ ``` 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments