Documentation ¶
Index ¶
- func CopyFile(src string, dst string) error
- func Exists(path string) bool
- func IsDir(path string) bool
- func MakeDir(dir string) error
- func WriteFile(path string, data []byte) error
- type Basil
- func (p *Basil) AddFile(path string, data []byte)
- func (p *Basil) AddScript(src []byte)
- func (p *Basil) BaseDir() string
- func (p *Basil) Build(middleware []Middleware) error
- func (p *Basil) Clean() error
- func (p *Basil) ConfigJson() string
- func (p *Basil) DistDir() string
- func (p *Basil) Middlewares() []string
- func (p *Basil) Minify() bool
- func (p *Basil) Read(baseDir string) error
- type Config
- type File
- type Middleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Basil ¶
type Basil struct {
// contains filtered or unexported fields
}
func (*Basil) Build ¶
func (p *Basil) Build(middleware []Middleware) error
func (*Basil) ConfigJson ¶
func (*Basil) Middlewares ¶
type Config ¶
type Middleware ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.