fix examples/v_script.vsh and add it to CI
							parent
							
								
									63ec3c0486
								
							
						
					
					
						commit
						7d58dc2350
					
				| 
						 | 
					@ -52,6 +52,8 @@ jobs:
 | 
				
			||||||
#      run: ./v -o hi.js examples/hello_v_js.v && node hi.js
 | 
					#      run: ./v -o hi.js examples/hello_v_js.v && node hi.js
 | 
				
			||||||
    - name: Test symlink
 | 
					    - name: Test symlink
 | 
				
			||||||
      run:  ./v symlink && v -o v2 v.v
 | 
					      run:  ./v symlink && v -o v2 v.v
 | 
				
			||||||
 | 
					    - name: Test vsh
 | 
				
			||||||
 | 
					      run:  ./v examples/v_script.vsh
 | 
				
			||||||
    - name: Test vid
 | 
					    - name: Test vid
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        git clone --depth 1 https://github.com/vlang/vid.git
 | 
					        git clone --depth 1 https://github.com/vlang/vid.git
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,8 +14,8 @@ fn main() {
 | 
				
			||||||
 rm('a.out')
 | 
					 rm('a.out')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 println('Making dir name and creating foo.txt')
 | 
					 println('Making dir name and creating foo.txt')
 | 
				
			||||||
 mkdir('name')
 | 
					 os.mkdir('name')? // TODO mkdir()
 | 
				
			||||||
 create('foo.txt')
 | 
					 create('foo.txt')?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 foo_ls := ls('.') or { panic(err) }
 | 
					 foo_ls := ls('.') or { panic(err) }
 | 
				
			||||||
 println(foo_ls)
 | 
					 println(foo_ls)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue