aboutsummaryrefslogtreecommitdiff
path: root/runner.go
diff options
context:
space:
mode:
authorFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 18:13:49 -0500
committerFlu0r1ne <flur01ne@flu0r1ne.net>2021-09-03 18:13:49 -0500
commit38912d85394604fe9cc238ef6eb9f6e75ceb38f9 (patch)
tree861fc3af5d44ef8fbad738638f498c6e63bd1747 /runner.go
parentaff7b69cab2ac1d09b47f28c6fa653febd8595ea (diff)
downloadplanr-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.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/runner.go b/runner.go
index 0a6243c..9014b8c 100644
--- a/runner.go
+++ b/runner.go
@@ -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()
+}