summaryrefslogtreecommitdiff
path: root/model/source.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/source.go')
-rw-r--r--model/source.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/model/source.go b/model/source.go
index 246929e..2844d23 100644
--- a/model/source.go
+++ b/model/source.go
@@ -6,10 +6,20 @@ import (
"github.com/ewy1/pik/spool"
)
+// SourceData is data we want to save from a Source before it has been properly instantiated
+type SourceData struct {
+ Aliases []string
+ Icon string
+ Path string
+ Wants []string
+ Includes []string
+}
+
// Source is a location containing stuff we can run
// these get created when we find a makefile, .pik folder, etc.
type Source struct {
identity.Identity
+ SourceData
Tags
Path string
Targets []Target