Documentation ¶
Index ¶
- Constants
- func Glue(member string, method string)
- type Cache
- func (c *Cache) AddWorkspace(workspace string, members []CacheMember)
- func (c *Cache) AddWorkspaceMember(workspace string, member CacheMember)
- func (c *Cache) GetWorkspace(workspace string) *CacheWorkspace
- func (c *Cache) GetWorkspaceMember(workspace string, member string) *CacheMember
- func (c *Cache) IncludesWorkspace(workspace string) bool
- func (c *Cache) IncludesWorkspaceMember(workspace string, member string) bool
- func (c *Cache) RemoveWorkspace(workspace string)
- func (c *Cache) RemoveWorkspaceMember(workspace string, member string)
- func (c *Cache) SetHash(workspace string, member string, hash string)
- func (c *Cache) WriteCache()
- type CacheMember
- type CacheWorkspace
- type Members
- type Options
- type Schef
- type Workspace
- type WorkspaceMember
Constants ¶
View Source
const GoBuild = "go build"
View Source
const RustBuild = "cargo build --release"
View Source
const RustBuildWasm = "cargo build --release --target wasm32-unknown-unknown"
View Source
const RustDev = "cargo build"
View Source
const RustDevWasm = "cargo build --target wasm32-unknown-unknown"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
Workspaces []CacheWorkspace
}
func (*Cache) AddWorkspace ¶
func (c *Cache) AddWorkspace(workspace string, members []CacheMember)
func (*Cache) AddWorkspaceMember ¶
func (c *Cache) AddWorkspaceMember(workspace string, member CacheMember)
func (*Cache) GetWorkspace ¶
func (c *Cache) GetWorkspace(workspace string) *CacheWorkspace
func (*Cache) GetWorkspaceMember ¶
func (c *Cache) GetWorkspaceMember(workspace string, member string) *CacheMember
func (*Cache) IncludesWorkspace ¶
func (*Cache) IncludesWorkspaceMember ¶
func (*Cache) RemoveWorkspace ¶
func (*Cache) RemoveWorkspaceMember ¶
func (*Cache) WriteCache ¶
func (c *Cache) WriteCache()
type CacheMember ¶
type CacheWorkspace ¶
type CacheWorkspace struct { Name string Members []CacheMember }
type Schef ¶
func GetSchef ¶
func GetSchef() *Schef
GetSchef returns the workspace (Schef) in which the program got invoked
func (*Schef) GenerateWorkspace ¶
GenerateWorkspace generates the Workspace struct and generates all commands required
type Workspace ¶
type Workspace struct { Members []WorkspaceMember Cwd string Name string }
Click to show internal directories.
Click to hide internal directories.