diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-03 18:13:49 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-03 18:13:49 -0500 |
commit | 38912d85394604fe9cc238ef6eb9f6e75ceb38f9 (patch) | |
tree | 861fc3af5d44ef8fbad738638f498c6e63bd1747 /runner.go | |
parent | aff7b69cab2ac1d09b47f28c6fa653febd8595ea (diff) | |
download | planr-38912d85394604fe9cc238ef6eb9f6e75ceb38f9.tar.xz planr-38912d85394604fe9cc238ef6eb9f6e75ceb38f9.zip |
Add config command to retrieve configuration values and clean command to clean build files
Diffstat (limited to 'runner.go')
-rw-r--r-- | runner.go | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -125,3 +125,27 @@ func (r Runner) Clean() { func (r * Runner) SetConfigDirFromTree(childPath string) { r.dirs.SetConfigFromTree(childPath) } + +func (r * Runner) SetBuildDir(dir string) { + r.dirs.SetBuild(dir) +} + +func (r * Runner) SetConfigDir(dir string) { + r.dirs.SetConfig(dir) +} + +func (r * Runner) SetSrcDir(dir string) { + r.dirs.SetSrc(dir) +} + +func (r Runner) BuildDir() string { + return r.dirs.Build(); +} + +func (r Runner) ConfigDir() string { + return r.dirs.Config() +} + +func (r Runner) SrcDir() string { + return r.dirs.Src() +} |