Skip to content

Commit 39c2c13

Browse files
authored
Merge pull request #139 from aofei/spx
refactor(xgomod): drop built-in spx project support
2 parents d3ed639 + 2514a3c commit 39c2c13

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

xgomod/classfile.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ type Class = modfile.Class
3030
type Project = modfile.Project
3131

3232
var (
33-
SpxProject = &Project{
34-
Ext: ".spx",
35-
Class: "Game",
36-
PkgPaths: []string{"github.com/goplus/spx", "math"},
37-
Works: []*modfile.Class{{Ext: ".spx", Class: "Sprite"}},
38-
}
3933
GshProject = &Project{
4034
Ext: ".gsh",
4135
Class: "App",
@@ -94,8 +88,6 @@ func (p *Module) ImportClasses(importClass ...func(c *Project)) (err error) {
9488
p.projs = make(map[string]*Project)
9589
p.importClass(TestProject, impcls)
9690
p.importClass(GshProject, impcls)
97-
p.importClass(SpxProject, impcls)
98-
p.projs[".gmx"] = SpxProject // old style
9991
opt := p.Opt
10092
for _, c := range opt.Projects {
10193
p.importClass(c, impcls)

0 commit comments

Comments
 (0)