Fix deploy tests and update command-line docs a bit
							parent
							
								
									21eea4d88c
								
							
						
					
					
						commit
						bcd5c5c635
					
				| 
						 | 
				
			
			@ -129,12 +129,10 @@ $nl
 | 
			
		|||
    "\"factor-rc\" rc-path print"
 | 
			
		||||
    "\"factor-boot-rc\" rc-path print"
 | 
			
		||||
}
 | 
			
		||||
"Here is an example " { $snippet ".factor-boot-rc" } " which sets up GVIM editor integration, adds an additional vocabulary root (see " { $link "vocabs.roots" } "), and increases the font size in the UI by setting the DPI (dots-per-inch) variable:"
 | 
			
		||||
"Here is an example " { $snippet ".factor-boot-rc" } " which sets up GVIM editor integration:"
 | 
			
		||||
{ $code
 | 
			
		||||
    "USING: editors.gvim vocabs.loader ui.freetype namespaces sequences ;"
 | 
			
		||||
    "USING: editors.gvim namespaces ;"
 | 
			
		||||
    "\"/opt/local/bin\" \\ gvim-path set-global"
 | 
			
		||||
    "\"/home/jane/src/\" vocab-roots get push"
 | 
			
		||||
    "100 dpi set-global"
 | 
			
		||||
} ;
 | 
			
		||||
 | 
			
		||||
ARTICLE: "cli" "Command line arguments"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
USING: tools.test system io io.encodings.ascii io.pathnames
 | 
			
		||||
io.files io.files.info io.files.temp kernel tools.deploy.config
 | 
			
		||||
tools.deploy.config.editor tools.deploy.backend math sequences
 | 
			
		||||
io.launcher arrays namespaces continuations layouts accessors
 | 
			
		||||
urls math.parser io.directories tools.deploy.test ;
 | 
			
		||||
IN: tools.deploy.tests
 | 
			
		||||
USING: tools.test system io.pathnames io.files io.files.info
 | 
			
		||||
io.files.temp kernel tools.deploy.config tools.deploy.config.editor
 | 
			
		||||
tools.deploy.backend math sequences io.launcher arrays namespaces
 | 
			
		||||
continuations layouts accessors io.encodings.ascii urls math.parser
 | 
			
		||||
io.directories tools.deploy.test ;
 | 
			
		||||
 | 
			
		||||
[ t ] [ "hello-world" shake-and-bake 500000 small-enough? ] unit-test
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue