...
This commit is contained in:
@@ -3,16 +3,26 @@
|
||||
import freeflowuniverse.herolib.core.playcmds
|
||||
import freeflowuniverse.herolib.clients.giteaclient
|
||||
|
||||
// Configure PostgreSQL client
|
||||
// heroscript := "
|
||||
// !!giteaclient.configure
|
||||
// url: 'git.ourworld.tf'
|
||||
// user: 'despiegk'
|
||||
// secret: ''
|
||||
// "
|
||||
heroscript := "
|
||||
!!giteaclient.configure
|
||||
name: 'default'
|
||||
url: 'git.ourworld.tf'
|
||||
user: 'despiegk'
|
||||
secret: '1'
|
||||
|
||||
// // Process the heroscript configuration
|
||||
// playcmds.play(heroscript: heroscript, emptycheck: false)!
|
||||
!!giteaclient.configure
|
||||
name: 'two'
|
||||
url: 'git.ourworld.tf'
|
||||
user: 'despiegk2'
|
||||
secret: '2'
|
||||
|
||||
"
|
||||
// Process the heroscript configuration
|
||||
playcmds.play(heroscript: heroscript, emptycheck: false)!
|
||||
|
||||
println(giteaclient.list()!)
|
||||
|
||||
$dbg;
|
||||
|
||||
// Get the configured client
|
||||
mut client := giteaclient.get()!
|
||||
|
||||
Reference in New Issue
Block a user