Rename go module
This commit is contained in:
18
Makefile
18
Makefile
@@ -5,30 +5,30 @@ GOBUILD ?= go build
|
|||||||
all: loader palette-idx view-obj view-map view-menu view-minimap view-set wh40k
|
all: loader palette-idx view-obj view-map view-menu view-minimap view-set wh40k
|
||||||
|
|
||||||
loader: $(srcfiles)
|
loader: $(srcfiles)
|
||||||
$(GOBUILD) -o loader ur.gs/ordoor/cmd/loader
|
$(GOBUILD) -o loader ./cmd/loader
|
||||||
|
|
||||||
palette-idx: $(srcfiles)
|
palette-idx: $(srcfiles)
|
||||||
$(GOBUILD) -o palette-idx ur.gs/ordoor/cmd/palette-idx
|
$(GOBUILD) -o palette-idx ./cmd/palette-idx
|
||||||
|
|
||||||
view-obj: $(srcfiles)
|
view-obj: $(srcfiles)
|
||||||
$(GOBUILD) -o view-obj ur.gs/ordoor/cmd/view-obj
|
$(GOBUILD) -o view-obj ./cmd/view-obj
|
||||||
|
|
||||||
view-map: $(srcfiles)
|
view-map: $(srcfiles)
|
||||||
$(GOBUILD) -o view-map ur.gs/ordoor/cmd/view-map
|
$(GOBUILD) -o view-map ./cmd/view-map
|
||||||
|
|
||||||
view-menu: $(srcfiles)
|
view-menu: $(srcfiles)
|
||||||
$(GOBUILD) -o view-menu ur.gs/ordoor/cmd/view-menu
|
$(GOBUILD) -o view-menu ./cmd/view-menu
|
||||||
|
|
||||||
view-minimap: $(srcfiles)
|
view-minimap: $(srcfiles)
|
||||||
$(GOBUILD) -o view-minimap ur.gs/ordoor/cmd/view-minimap
|
$(GOBUILD) -o view-minimap ./cmd/view-minimap
|
||||||
|
|
||||||
view-set: $(srcfiles)
|
view-set: $(srcfiles)
|
||||||
$(GOBUILD) -o view-set ur.gs/ordoor/cmd/view-set
|
$(GOBUILD) -o view-set ./cmd/view-set
|
||||||
|
|
||||||
wh40k: $(srcfiles)
|
wh40k: $(srcfiles)
|
||||||
$(GOBUILD) -o wh40k ur.gs/ordoor/cmd/wh40k
|
$(GOBUILD) -o wh40k ./cmd/wh40k
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f loader view-obj view-map view-minimap view-set wh40k
|
rm -f loader view-obj view-map view-minimap view-set wh40k palette-idx
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
@@ -7,11 +7,11 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
"ur.gs/ordoor/internal/fonts"
|
"code.ur.gs/lupine/ordoor/internal/fonts"
|
||||||
"ur.gs/ordoor/internal/maps"
|
"code.ur.gs/lupine/ordoor/internal/maps"
|
||||||
"ur.gs/ordoor/internal/menus"
|
"code.ur.gs/lupine/ordoor/internal/menus"
|
||||||
"ur.gs/ordoor/internal/sets"
|
"code.ur.gs/lupine/ordoor/internal/sets"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -5,7 +5,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@@ -11,11 +11,11 @@ import (
|
|||||||
|
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/conv"
|
"code.ur.gs/lupine/ordoor/internal/conv"
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
"ur.gs/ordoor/internal/maps"
|
"code.ur.gs/lupine/ordoor/internal/maps"
|
||||||
"ur.gs/ordoor/internal/sets"
|
"code.ur.gs/lupine/ordoor/internal/sets"
|
||||||
"ur.gs/ordoor/internal/ui"
|
"code.ur.gs/lupine/ordoor/internal/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -10,11 +10,11 @@ import (
|
|||||||
|
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/conv"
|
"code.ur.gs/lupine/ordoor/internal/conv"
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
"ur.gs/ordoor/internal/fonts"
|
"code.ur.gs/lupine/ordoor/internal/fonts"
|
||||||
"ur.gs/ordoor/internal/menus"
|
"code.ur.gs/lupine/ordoor/internal/menus"
|
||||||
"ur.gs/ordoor/internal/ui"
|
"code.ur.gs/lupine/ordoor/internal/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -12,9 +12,9 @@ import (
|
|||||||
|
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/maps"
|
"code.ur.gs/lupine/ordoor/internal/maps"
|
||||||
"ur.gs/ordoor/internal/sets"
|
"code.ur.gs/lupine/ordoor/internal/sets"
|
||||||
"ur.gs/ordoor/internal/ui"
|
"code.ur.gs/lupine/ordoor/internal/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -10,9 +10,9 @@ import (
|
|||||||
|
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/conv"
|
"code.ur.gs/lupine/ordoor/internal/conv"
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
"ur.gs/ordoor/internal/ui"
|
"code.ur.gs/lupine/ordoor/internal/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -10,10 +10,10 @@ import (
|
|||||||
|
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/conv"
|
"code.ur.gs/lupine/ordoor/internal/conv"
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
"ur.gs/ordoor/internal/sets"
|
"code.ur.gs/lupine/ordoor/internal/sets"
|
||||||
"ur.gs/ordoor/internal/ui"
|
"code.ur.gs/lupine/ordoor/internal/ui"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@@ -4,7 +4,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/wh40k"
|
"code.ur.gs/lupine/ordoor/internal/wh40k"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module ur.gs/ordoor
|
module code.ur.gs/lupine/ordoor
|
||||||
|
|
||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ package conv
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/fonts"
|
"code.ur.gs/lupine/ordoor/internal/fonts"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Font struct {
|
type Font struct {
|
||||||
|
@@ -3,7 +3,7 @@ package conv
|
|||||||
import (
|
import (
|
||||||
"github.com/hajimehoshi/ebiten"
|
"github.com/hajimehoshi/ebiten"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/data"
|
"code.ur.gs/lupine/ordoor/internal/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Important conversions:
|
// Important conversions:
|
||||||
|
@@ -4,7 +4,7 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Comments are `//`, start of line only, for accounting
|
// Comments are `//`, start of line only, for accounting
|
||||||
|
@@ -6,7 +6,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Cell struct {
|
type Cell struct {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package data
|
package data
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CompassPoints struct {
|
type CompassPoints struct {
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package data
|
package data
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ActionPointEnum int
|
type ActionPointEnum int
|
||||||
|
@@ -9,7 +9,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/data/rle"
|
"code.ur.gs/lupine/ordoor/internal/data/rle"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SpriteHeader struct {
|
type SpriteHeader struct {
|
||||||
|
@@ -6,8 +6,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/util"
|
"code.ur.gs/lupine/ordoor/internal/util"
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Font struct {
|
type Font struct {
|
||||||
|
@@ -7,7 +7,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Record struct {
|
type Record struct {
|
||||||
|
@@ -7,7 +7,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/util/asciiscan"
|
"code.ur.gs/lupine/ordoor/internal/util/asciiscan"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MapSet struct {
|
type MapSet struct {
|
||||||
|
@@ -7,7 +7,7 @@ package wh40k
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"ur.gs/ordoor/internal/config"
|
"code.ur.gs/lupine/ordoor/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WH40K struct {
|
type WH40K struct {
|
||||||
|
Reference in New Issue
Block a user