Skip to content

Commit

Permalink
Rename sdl_image folder and its friends to match package name
Browse files Browse the repository at this point in the history
Signed-off-by: Lilis Iskandar <[email protected]>
  • Loading branch information
veeableful committed Jun 9, 2017
1 parent fa5f69a commit 23a51d8
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion BSDmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SRCDIR= ${.CURDIR}
ALLDIRS!= find ${SRCDIR} -type d -not -path "./.git*"
# Packages
ROOTPKG= ${SRCDIR:S/${GOPATH}\/src\///}
PACKAGES= sdl sdl_image sdl_mixer sdl_ttf
PACKAGES= sdl img mix ttf
# Some cleanups
CLEANUP= *.cache *.core *~ *.orig

Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SRCDIR= ${CURDIR}
ALLDIRS!= find ${SRCDIR} -type d -not -path "./.git*"
# Packages
ROOTPKG= $(subst ${GOPATH}/src/,,${SRCDIR})
PACKAGES= sdl sdl_image sdl_mixer sdl_ttf
PACKAGES= sdl img mix ttf
# Some cleanups
CLEANUP= *.cache *.core *~ *.orig

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Installation
============
To get the bindings, type:
`go get -v github.com/veandco/go-sdl2/sdl`
`go get -v github.com/veandco/go-sdl2/sdl_mixer`
`go get -v github.com/veandco/go-sdl2/sdl_image`
`go get -v github.com/veandco/go-sdl2/sdl_ttf`
`go get -v github.com/veandco/go-sdl2/mix`
`go get -v github.com/veandco/go-sdl2/img`
`go get -v github.com/veandco/go-sdl2/ttf`

or type this if you use Bash terminal:
`go get -v github.com/veandco/go-sdl2/sdl{,_mixer,_image,_ttf}`
Expand Down
2 changes: 1 addition & 1 deletion examples/audio_mp3/audio_mp3.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log"

"github.com/veandco/go-sdl2/sdl"
"github.com/veandco/go-sdl2/sdl_mixer"
"github.com/veandco/go-sdl2/mix"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/gfx/gfx.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/veandco/go-sdl2/sdl"
"github.com/veandco/go-sdl2/sdl_gfx"
"github.com/veandco/go-sdl2/gfx"
)

var winTitle string = "SDL2 GFX"
Expand Down
2 changes: 1 addition & 1 deletion examples/text/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/veandco/go-sdl2/sdl"
"github.com/veandco/go-sdl2/sdl_ttf"
"github.com/veandco/go-sdl2/ttf"
)

var winTitle string = "Text"
Expand Down
2 changes: 1 addition & 1 deletion examples/texture_png/texture_png.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package main
import (
"fmt"
"github.com/veandco/go-sdl2/sdl"
"github.com/veandco/go-sdl2/sdl_image"
"github.com/veandco/go-sdl2/img"
"os"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REM @SET ALLDIRS!= find ${SRCDIR} -type d -not -path "./.hg*"

REM Packages
SET ROOTPKG=github.com/veandco/go-sdl2
SET PACKAGES=sdl sdl_image sdl_mixer sdl_ttf
SET PACKAGES=sdl img mix ttf

SET GO=go

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 23a51d8

Please sign in to comment.