all: draw2d/draw2d -> draw2d

This commit is contained in:
Sebastien Binet 2015-04-19 00:58:25 +02:00
parent 690ce767e2
commit 97614e8d6a
45 changed files with 17 additions and 19 deletions

View file

@ -4,13 +4,13 @@
all: install test
install:
cd draw2d && go install
cd draw2dgl && go install
go install
go install ./draw2dgl
# cd wingui && make install
build:
cd draw2d && go build
cd draw2dgl && go build
go build
go build ./draw2dgl
# cd wingui && make build
test:
@ -23,9 +23,7 @@ test:
#cd cmd && go build testX11draw.go
clean:
cd draw2d && go clean
# cd draw2dgl && make clean
cd cmd && go clean
go clean ./...
# cd wingui && make clean
command:

View file

@ -11,7 +11,7 @@ import (
"log"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
func saveToPngFile(filePath string, m image.Image) {

View file

@ -24,7 +24,7 @@ import (
"github.com/go-gl/gl/v2.1/gl"
"github.com/go-gl/glfw/v3.1/glfw"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
"github.com/llgcode/draw2d/draw2dgl"
)

View file

@ -7,7 +7,7 @@ import (
"image"
"math"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
func main() {

View file

@ -10,7 +10,7 @@ import (
"math"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
const (

View file

@ -13,7 +13,7 @@ import (
"math"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
const (

View file

@ -10,7 +10,7 @@ import (
"math"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
const (

View file

@ -10,7 +10,7 @@ import (
"math"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
func saveToPngFile(filePath string, m image.Image) {

View file

@ -11,7 +11,7 @@ import (
"os"
"testing"
"github.com/llgcode/draw2d/draw2d/raster"
"github.com/llgcode/draw2d/raster"
)
var (

View file

@ -8,7 +8,7 @@ import (
"code.google.com/p/freetype-go/freetype/raster"
"github.com/go-gl/gl/v2.1/gl"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
func init() {

View file

View file

@ -10,7 +10,7 @@ import (
"math"
"os"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
)
func saveToPngFile(filePath string, m image.Image) {

View file

@ -10,7 +10,7 @@ import (
"testing"
"code.google.com/p/freetype-go/freetype/raster"
"github.com/llgcode/draw2d/draw2d/curve"
"github.com/llgcode/draw2d/curve"
)
var flattening_threshold float64 = 0.5

View file

@ -15,7 +15,7 @@ import (
"time"
"unsafe"
"github.com/llgcode/draw2d/draw2d"
"github.com/llgcode/draw2d"
"github.com/llgcode/draw2d/wingui"
"github.com/llgcode/ps"
)