forked from ungleich-public/cdist
		
	update hackers readme
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								92dd32559a
							
						
					
				
			
			
				commit
				
					
						7ad15d6733
					
				
			
		
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
					@ -18,7 +18,8 @@ The following code will get executed if you run this README:
 | 
				
			||||||
eof
 | 
					eof
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Tell the user what we do, so this script makes sense during execution
 | 
					# Tell the user what we do, so this script makes sense during execution
 | 
				
			||||||
set -x
 | 
					# And abort on any error
 | 
				
			||||||
 | 
					set -ex
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# prepare use (only from top level directory)
 | 
					# prepare use (only from top level directory)
 | 
				
			||||||
export PATH="$PATH:$(pwd -P)/bin"
 | 
					export PATH="$PATH:$(pwd -P)/bin"
 | 
				
			||||||
| 
						 | 
					@ -50,8 +51,11 @@ find "$explorer_tmp"
 | 
				
			||||||
# Generate code for all objects in object dir
 | 
					# Generate code for all objects in object dir
 | 
				
			||||||
cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp"
 | 
					cdist-object-codegen-all localhost "$object_tmp" "$exec_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Display result
 | 
					# Display result, including permissions
 | 
				
			||||||
find "$exec_tmp"
 | 
					ls -lR "$exec_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Transfer generated code
 | 
					# Transfer generated code
 | 
				
			||||||
cdist-exec-transfer localhost "$exec_tmp"
 | 
					cdist-exec-transfer localhost "$exec_tmp"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Execute generated code
 | 
				
			||||||
 | 
					cdist-exec-run localhost
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue