rbxcompiler/internal/rbxbuilder/rbxbuilder.go

42 lines
563 B
Go
Raw Normal View History

2020-09-29 20:58:00 +00:00
package rbxbuilder
import "io"
type DumpSettings struct {
Source string
Output string
Download bool
Asset struct {
Id int
Group int
}
}
type BuildSettings struct {
Source string
Output string
Writer *io.Writer
}
type Manifest struct {
Override []Script
Template []byte
}
type Script struct {
Path string
Class string
}
func NewPlaceDump(options *DumpSettings) error {
return PlaceDumper{
Options: options,
}.Dump()
}
func NewPlaceBuilder(options *BuildSettings) error {
return PlaceBuilder{
Options: options,
}.Build()
}