chore: move /_example to /examples
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							parent
							
								
									df264c2bf3
								
							
						
					
					
						commit
						0c1ed2a3c2
					
				|  | @ -17,6 +17,6 @@ steps: | ||||||
|   - export PATH=$PATH:/usr/local/go/bin |   - export PATH=$PATH:/usr/local/go/bin | ||||||
|   - go env -w GOPROXY=https://goproxy.cn,direct |   - go env -w GOPROXY=https://goproxy.cn,direct | ||||||
|   - make |   - make | ||||||
|   - ./_example/success/run.sh |   - ./examples/success/run.sh | ||||||
|   - ./_example/compile_error/run.sh |   - ./examples/compile_error/run.sh | ||||||
|   - cp build/joj3 /home/drone/.local/bin/joj3 |   - cp build/joj3 /home/drone/.local/bin/joj3 | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							|  | @ -5,21 +5,21 @@ | ||||||
| In order to register sandbox executor, you need to run go-judge before running this program. | In order to register sandbox executor, you need to run go-judge before running this program. | ||||||
| 
 | 
 | ||||||
| ```bash | ```bash | ||||||
| $ export CONF_GITEATOKEN="<YOUR_TOKEN>" && make clean && make && ./_example/success/run.sh && ./_example/compile_error/run.sh | $ export CONF_GITEATOKEN="<YOUR_TOKEN>" && make clean && make && ./examples/success/run.sh && ./examples/compile_error/run.sh | ||||||
| rm -rf ./build/* | rm -rf ./build/* | ||||||
| rm -rf *.out | rm -rf *.out | ||||||
| go build -o ./build/joj3 ./cmd/joj3 | go build -o ./build/joj3 ./cmd/joj3 | ||||||
| ++ dirname -- ./_example/success/run.sh | ++ dirname -- ./examples/success/run.sh | ||||||
| + DIRNAME=./_example/success | + DIRNAME=./examples/success | ||||||
| + cd ./_example/success | + cd ./examples/success | ||||||
| + ./../../build/joj3 | + ./../../build/joj3 | ||||||
| + cat ./joj3_result.json | + cat ./joj3_result.json | ||||||
| [{"Name":"compile","Results":[{"Score":0,"Comment":""}]},{"Name":"run","Results":[{"Score":100,"Comment":"executor status: run time: 2811900 ns, memory: 16658432 bytes"},{"Score":100,"Comment":"executor status: run time: 2578200 ns, memory: 13094912 bytes"}]}] | [{"Name":"compile","Results":[{"Score":0,"Comment":""}]},{"Name":"run","Results":[{"Score":100,"Comment":"executor status: run time: 2811900 ns, memory: 16658432 bytes"},{"Score":100,"Comment":"executor status: run time: 2578200 ns, memory: 13094912 bytes"}]}] | ||||||
| + rm -f ./joj3_result.json | + rm -f ./joj3_result.json | ||||||
| + cd - | + cd - | ||||||
| ++ dirname -- ./_example/compile_error/run.sh | ++ dirname -- ./examples/compile_error/run.sh | ||||||
| + DIRNAME=./_example/compile_error | + DIRNAME=./examples/compile_error | ||||||
| + cd ./_example/compile_error | + cd ./examples/compile_error | ||||||
| + ./../../build/joj3 | + ./../../build/joj3 | ||||||
| + cat ./joj3_result.json | + cat ./joj3_result.json | ||||||
| [{"Name":"compile","Results":[{"Score":0,"Comment":"Unexpected executor status: Nonzero Exit Status."}]}] | [{"Name":"compile","Results":[{"Score":0,"Comment":"Unexpected executor status: Nonzero Exit Status."}]}] | ||||||
|  |  | ||||||
|  | @ -8,3 +8,4 @@ cd $DIRNAME | ||||||
| cat ./joj3_result.json | cat ./joj3_result.json | ||||||
| rm -f ./joj3_result.json | rm -f ./joj3_result.json | ||||||
| cd - | cd - | ||||||
|  | w | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user