diff options
author | Ayke van Laethem <[email protected]> | 2019-01-31 17:43:19 +0100 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2019-01-31 17:43:19 +0100 |
commit | 914d383a96be8cbb1495209e11ddc0a8e32ca1db (patch) | |
tree | 188ea5d2a61f9739225957ad744b49e18dbc29dd | |
parent | 504c82a0e7edab55d2c9b326309151a9d7f32750 (diff) | |
download | tinygo-914d383a96be8cbb1495209e11ddc0a8e32ca1db.tar.gz tinygo-914d383a96be8cbb1495209e11ddc0a8e32ca1db.zip |
all: update import paths to github.com/tinygo-org/tinygo
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Dockerfile | 42 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | compiler/compiler.go | 4 | ||||
-rw-r--r-- | compiler/defer.go | 2 | ||||
-rw-r--r-- | compiler/interface.go | 2 | ||||
-rw-r--r-- | ir/ir.go | 2 | ||||
-rw-r--r-- | main.go | 6 | ||||
-rw-r--r-- | src/machine/buffer.go | 2 | ||||
-rw-r--r-- | testdata/slice.go | 2 |
10 files changed, 34 insertions, 34 deletions
diff --git a/.travis.yml b/.travis.yml index 383ae150a..629d72b31 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ install: - dep ensure --vendor-only script: - - go install github.com/aykevl/tinygo + - go install github.com/tinygo-org/tinygo - go test -v . - make gen-device - tinygo build -o blinky1.nrf.elf -target=pca10040 examples/blinky1 diff --git a/Dockerfile b/Dockerfile index e192961e8..bb75f7a4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,18 +8,18 @@ RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \ RUN wget -O- https://raw.githubusercontent.com/golang/dep/master/install.sh | sh -COPY . /go/src/github.com/aykevl/tinygo +COPY . /go/src/github.com/tinygo-org/tinygo -RUN cd /go/src/github.com/aykevl/tinygo/ && \ +RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ dep ensure --vendor-only && \ - go install /go/src/github.com/aykevl/tinygo/ + go install /go/src/github.com/tinygo-org/tinygo/ # tinygo-wasm stage installs the needed dependencies to compile TinyGo programs for WASM. FROM tinygo-base AS tinygo-wasm COPY --from=tinygo-base /go/bin/tinygo /go/bin/tinygo -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/src /go/src/github.com/aykevl/tinygo/src -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/targets /go/src/github.com/aykevl/tinygo/targets +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/src /go/src/github.com/tinygo-org/tinygo/src +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/targets /go/src/github.com/tinygo-org/tinygo/targets RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \ echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main" >> /etc/apt/sources.list && \ @@ -30,13 +30,13 @@ RUN wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && \ FROM tinygo-base AS tinygo-avr COPY --from=tinygo-base /go/bin/tinygo /go/bin/tinygo -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/src /go/src/github.com/aykevl/tinygo/src -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/targets /go/src/github.com/aykevl/tinygo/targets -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/Makefile /go/src/github.com/aykevl/tinygo/ -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/tools /go/src/github.com/aykevl/tinygo/tools -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/lib /go/src/github.com/aykevl/tinygo/lib +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/src /go/src/github.com/tinygo-org/tinygo/src +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/targets /go/src/github.com/tinygo-org/tinygo/targets +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/Makefile /go/src/github.com/tinygo-org/tinygo/ +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/tools /go/src/github.com/tinygo-org/tinygo/tools +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/lib /go/src/github.com/tinygo-org/tinygo/lib -RUN cd /go/src/github.com/aykevl/tinygo/ && \ +RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ apt-get update && \ apt-get install -y apt-utils python3 make binutils-avr gcc-avr avr-libc && \ make gen-device-avr && \ @@ -48,13 +48,13 @@ RUN cd /go/src/github.com/aykevl/tinygo/ && \ FROM tinygo-base AS tinygo-arm COPY --from=tinygo-base /go/bin/tinygo /go/bin/tinygo -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/src /go/src/github.com/aykevl/tinygo/src -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/targets /go/src/github.com/aykevl/tinygo/targets -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/Makefile /go/src/github.com/aykevl/tinygo/ -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/tools /go/src/github.com/aykevl/tinygo/tools -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/lib /go/src/github.com/aykevl/tinygo/lib +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/src /go/src/github.com/tinygo-org/tinygo/src +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/targets /go/src/github.com/tinygo-org/tinygo/targets +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/Makefile /go/src/github.com/tinygo-org/tinygo/ +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/tools /go/src/github.com/tinygo-org/tinygo/tools +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/lib /go/src/github.com/tinygo-org/tinygo/lib -RUN cd /go/src/github.com/aykevl/tinygo/ && \ +RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ apt-get update && \ apt-get install -y apt-utils python3 make binutils-arm-none-eabi clang-7 && \ make gen-device-nrf && make gen-device-stm32 && \ @@ -65,11 +65,11 @@ RUN cd /go/src/github.com/aykevl/tinygo/ && \ # tinygo-all stage installs the needed dependencies to compile TinyGo programs for all platforms. FROM tinygo-wasm AS tinygo-all -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/Makefile /go/src/github.com/aykevl/tinygo/ -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/tools /go/src/github.com/aykevl/tinygo/tools -COPY --from=tinygo-base /go/src/github.com/aykevl/tinygo/lib /go/src/github.com/aykevl/tinygo/lib +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/Makefile /go/src/github.com/tinygo-org/tinygo/ +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/tools /go/src/github.com/tinygo-org/tinygo/tools +COPY --from=tinygo-base /go/src/github.com/tinygo-org/tinygo/lib /go/src/github.com/tinygo-org/tinygo/lib -RUN cd /go/src/github.com/aykevl/tinygo/ && \ +RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ apt-get update && \ apt-get install -y apt-utils python3 make binutils-arm-none-eabi clang-7 binutils-avr gcc-avr avr-libc && \ make gen-device && \ @@ -1,6 +1,6 @@ # TinyGo - Go compiler for microcontrollers -[![Build Status](https://travis-ci.com/aykevl/tinygo.svg?branch=master)](https://travis-ci.com/aykevl/tinygo) +[![Build Status](https://travis-ci.com/aykevl/tinygo.svg?branch=master)](https://travis-ci.com/tinygo-org/tinygo) > We never expected Go to be an embedded language and so it's got serious > problems [...]. @@ -166,7 +166,7 @@ If you want to contribute, here are some suggestions: requires a few compiler changes, but if the architecture is supported you can try implementing support for a new chip or board in `src/runtime`. For details, see [this wiki entry on adding - archs/chips/boards](https://github.com/aykevl/tinygo/wiki/Adding-a-new-board). + archs/chips/boards](https://github.com/tinygo-org/tinygo/wiki/Adding-a-new-board). * Microcontrollers have lots of peripherals and many don't have an implementation yet in the `machine` package. Adding support for new peripherals is very useful. diff --git a/compiler/compiler.go b/compiler/compiler.go index 739c4dc59..70870a46e 100644 --- a/compiler/compiler.go +++ b/compiler/compiler.go @@ -14,8 +14,8 @@ import ( "strconv" "strings" - "github.com/aykevl/tinygo/ir" - "github.com/aykevl/tinygo/loader" + "github.com/tinygo-org/tinygo/ir" + "github.com/tinygo-org/tinygo/loader" "golang.org/x/tools/go/ssa" "tinygo.org/x/go-llvm" ) diff --git a/compiler/defer.go b/compiler/defer.go index b48ae36cb..f11c27ef0 100644 --- a/compiler/defer.go +++ b/compiler/defer.go @@ -14,7 +14,7 @@ package compiler // frames. import ( - "github.com/aykevl/tinygo/ir" + "github.com/tinygo-org/tinygo/ir" "golang.org/x/tools/go/ssa" "tinygo.org/x/go-llvm" ) diff --git a/compiler/interface.go b/compiler/interface.go index 9b259da41..a94fa6f01 100644 --- a/compiler/interface.go +++ b/compiler/interface.go @@ -9,7 +9,7 @@ import ( "go/token" "go/types" - "github.com/aykevl/tinygo/ir" + "github.com/tinygo-org/tinygo/ir" "golang.org/x/tools/go/ssa" "tinygo.org/x/go-llvm" ) @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/aykevl/tinygo/loader" + "github.com/tinygo-org/tinygo/loader" "golang.org/x/tools/go/ssa" "tinygo.org/x/go-llvm" ) @@ -15,9 +15,9 @@ import ( "strings" "syscall" - "github.com/aykevl/tinygo/compiler" - "github.com/aykevl/tinygo/interp" - "github.com/aykevl/tinygo/loader" + "github.com/tinygo-org/tinygo/compiler" + "github.com/tinygo-org/tinygo/interp" + "github.com/tinygo-org/tinygo/loader" ) var commands = map[string]string{ diff --git a/src/machine/buffer.go b/src/machine/buffer.go index 437829a7d..870319591 100644 --- a/src/machine/buffer.go +++ b/src/machine/buffer.go @@ -10,7 +10,7 @@ type volatileByte byte // // It has some limitations currently due to how "volatile" variables that are // members of a struct are not compiled correctly by TinyGo. -// See https://github.com/aykevl/tinygo/issues/151 for details. +// See https://github.com/tinygo-org/tinygo/issues/151 for details. type RingBuffer struct { rxbuffer [bufferSize]volatileByte head volatileByte diff --git a/testdata/slice.go b/testdata/slice.go index cf0fd216d..f844690f9 100644 --- a/testdata/slice.go +++ b/testdata/slice.go @@ -92,7 +92,7 @@ func main() { } println() - // Verify the fix in https://github.com/aykevl/tinygo/pull/119 + // Verify the fix in https://github.com/tinygo-org/tinygo/pull/119 var unnamed [32]byte var named MySlice assert(len(unnamed[:]) == 32) |