Skip to content
This repository was archived by the owner on Aug 27, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ addons:
chrome: beta

go:
- 1.x
- stable

go_import_path: myitcv.io/react

Expand Down
26 changes: 13 additions & 13 deletions .vendor.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
./_vendor/src/mvdan.cc/sh 43f0b783abe67b568ff4fe4d0b84c44d73eac979 git@github.com:mvdan/sh
./_vendor/src/mvdan.cc/sh 43f0b783abe67b568ff4fe4d0b84c44d73eac979 https://github.com/mvdan/sh
./_vendor/src/honnef.co/go/js/dom 0a64a2db1425c1881d4ec762370250c65f44b85b [email protected]:dominikh/go-js-dom
./_vendor/src/honnef.co/go/js/xhr 00e3346113aed89b501ead4e863c7c3d04fa0c5b [email protected]:dominikh/go-js-xhr
./_vendor/src/honnef.co/go/js/util 96b8dd9d16214b6cd9d8c8e84b3a375da4688108 [email protected]:dominikh/go-js-util
./_vendor/src/github.com/jteeuwen/go-bindata a0ff2567cfb70903282db057e799fd826784d41d git@github.com:jteeuwen/go-bindata
./_vendor/src/github.com/jteeuwen/go-bindata a0ff2567cfb70903282db057e799fd826784d41d https://github.com/jteeuwen/go-bindata
./_vendor/src/github.com/spf13/cobra 16c014f1a19d865b765b420e74508f80eb831ada [email protected]:spf13/cobra
./_vendor/src/github.com/spf13/pflag 9ff6c6923cfffbcd502984b8e0c80539a94968b7 [email protected]:spf13/pflag
./_vendor/src/github.com/russross/blackfriday b253417e1cb644d645a0a3bb1fa5034c8030127c git@github.com:russross/blackfriday
./_vendor/src/github.com/gopherjs/gopherjs 8dffc02ea1cb8398bb73f30424697c60fcf8d4c5 git@github.com:gopherjs/gopherjs
./_vendor/src/github.com/gopherjs/jsbuiltin 67703bfb044e3192fbcab025c3aeaeedafad1f2f git@github.com:gopherjs/jsbuiltin
./_vendor/src/github.com/russross/blackfriday b253417e1cb644d645a0a3bb1fa5034c8030127c https://github.com/russross/blackfriday
./_vendor/src/github.com/gopherjs/gopherjs e13dc1aefa91d0f55ccf30757d6b1e82173f11fd https://github.com/gopherjs/gopherjs
./_vendor/src/github.com/gopherjs/jsbuiltin 67703bfb044e3192fbcab025c3aeaeedafad1f2f https://github.com/gopherjs/jsbuiltin
./_vendor/src/github.com/kisielk/gotool 0de1eaf82fa3f583ce21fde859f1e7e0c5e9b220 [email protected]:kisielk/gotool
./_vendor/src/github.com/fsnotify/fsnotify 7d7316ed6e1ed2de075aab8dfc76de5d158d66e1 [email protected]:fsnotify/fsnotify
./_vendor/src/github.com/kardianos/osext 9d302b58e975387d0b4d9be876622c86cefe64be [email protected]:kardianos/osext
./_vendor/src/github.com/sclevine/agouti 8cf0313221cb2c26a4059f8e273c0856b4cb091d git@github.com:sclevine/agouti
./_vendor/src/github.com/sclevine/agouti 8cf0313221cb2c26a4059f8e273c0856b4cb091d https://github.com/sclevine/agouti
./_vendor/src/github.com/neelance/astrewrite 99348263ae862cc230986ce88deaddbf7edcc034 [email protected]:neelance/astrewrite
./_vendor/src/github.com/neelance/sourcemap 8c68805598ab8d5637b1a72b5f7d381ea0f39c31 [email protected]:neelance/sourcemap
./_vendor/src/github.com/shurcooL/sanitized_anchor_name 79c90efaf01eddc01945af5bc1797859189b830b git@github.com:shurcooL/sanitized_anchor_name
./_vendor/src/github.com/shurcooL/httpfs 809beceb23714880abc4a382a00c05f89d13b1cc git@github.com:shurcooL/httpfs
./_vendor/src/myitcv.io/gogenerate 8ad09dd98465cdb14438b1f82397ad8eb745ec01 git@github.com:myitcv/gogenerate
./_vendor/src/myitcv.io/immutable d40652f0ca28eff7665d58d506d2ba98ac863f56 git@github.com:myitcv/immutable
./_vendor/src/github.com/shurcooL/sanitized_anchor_name 79c90efaf01eddc01945af5bc1797859189b830b https://github.com/shurcooL/sanitized_anchor_name
./_vendor/src/github.com/shurcooL/httpfs 809beceb23714880abc4a382a00c05f89d13b1cc https://github.com/shurcooL/httpfs
./_vendor/src/myitcv.io/gogenerate 8ad09dd98465cdb14438b1f82397ad8eb745ec01 https://github.com/myitcv/gogenerate
./_vendor/src/myitcv.io/immutable d40652f0ca28eff7665d58d506d2ba98ac863f56 https://github.com/myitcv/immutable
./_vendor/src/myitcv.io/gjbt 380934b3729925dd61d0eda6b7513042cfea6914 [email protected]:myitcv/gjbt.git
./_vendor/src/myitcv.io/highlightjs e0ea663591fbdbce10ca2658c680ba7be2391ff8 git@github.com:myitcv/highlightjs
./_vendor/src/myitcv.io/sorter e31395312285046bfee144dd5347387a9a2358d2 git@github.com:myitcv/sorter
./_vendor/src/myitcv.io/remarkable 6e8b85d04c0c2559fec23559cf88780db6d93083 git@github.com:myitcv/remarkable
./_vendor/src/myitcv.io/highlightjs e0ea663591fbdbce10ca2658c680ba7be2391ff8 https://github.com/myitcv/highlightjs
./_vendor/src/myitcv.io/sorter e31395312285046bfee144dd5347387a9a2358d2 https://github.com/myitcv/sorter
./_vendor/src/myitcv.io/remarkable 6e8b85d04c0c2559fec23559cf88780db6d93083 https://github.com/myitcv/remarkable
./_vendor/src/golang.org/x/net da118f7b8e5954f39d0d2130ab35d4bf0e3cb344 https://go.googlesource.com/net
./_vendor/src/golang.org/x/tools 94b14834a20132093826ea5e2da5502a13908ad3 https://go.googlesource.com/tools
./_vendor/src/golang.org/x/sys 9a7256cb28ed514b4e1e5f68959914c4c28a92e0 https://go.googlesource.com/sys
Expand Down
4 changes: 2 additions & 2 deletions _scripts/update_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ source "${BASH_SOURCE%/*}/common.bash"
r=$(mktemp -d)
t=$(mktemp -d)

echo "Cloning git@github.com:myitcv/gopherjs_examples_sites.git into $r"
echo "Cloning https://github.com/myitcv/gopherjs_examples_sites into $r"

git clone -q git@github.com:myitcv/gopherjs_examples_sites.git $r/gopherjs_examples_sites
git clone -q https://github.com/myitcv/gopherjs_examples_sites $r/gopherjs_examples_sites
rm -rf $r/gopherjs_examples_sites/*

mkdir $r/gopherjs_examples_sites/blog
Expand Down
93 changes: 93 additions & 0 deletions _vendor/src/github.com/gopherjs/gopherjs/.circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
version: 2
jobs:
build:
working_directory: /go/src/github.com/gopherjs/gopherjs
docker:
# We have a custom installation of Go below so this version is (largely) irrelevant.
- image: circleci/golang:1.10

environment:
SOURCE_MAP_SUPPORT: false
NVM_VERSION: v0.33.9
GO_VERSION: 1.10.3
NODE_VERSION: 10.0.0

steps:
- checkout

- run: |
# Install nvm.
git clone https://github.com/creationix/nvm.git $HOME/.nvm
cd $HOME/.nvm && git checkout $NVM_VERSION
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV

- run: |
# Install our own local Go version; we need src/path/filepath to be writable for certain tests.
mkdir $HOME/goroot
curl https://storage.googleapis.com/golang/go$GO_VERSION.linux-amd64.tar.gz | tar -C $HOME/goroot --strip-components=1 -xz
chmod a+w $HOME/goroot/src/path/filepath
echo 'export PATH="$HOME/goroot/bin:$PATH"' >> $BASH_ENV

- run: |
# Per https://github.com/gopherjs/gopherjs/pull/687.
echo 'ulimit -s 10000' >> $BASH_ENV

- run: |
# Setup our required Node version now that nvm is installed.
nvm install $NODE_VERSION node
nvm alias default $NODE_VERSION

- run: |
# Verify our environment setup.
which node
which go
node --version
go version
go env

- run: |
# Per https://github.com/gopherjs/gopherjs/blob/master/doc/syscalls.md.
npm install --global node-gyp
cd node-syscall && node-gyp rebuild && mkdir -p $HOME/.node_libraries/ && cp build/Release/syscall.node $HOME/.node_libraries/syscall.node

# this gives us the repo-local binaries we require
npm install

- run: |
go get -t ./...
go install github.com/gopherjs/gopherjs

- run:
# because this is a long-running test suite
no_output_timeout: 30m
command: |
echo ">> Regenerate compiler/prelude"
go generate github.com/gopherjs/gopherjs/compiler/prelude

echo ">> Ensure there are no variations from the git commit"
diff -u <(echo -n) <(git status --porcelain)

echo ">> Ensure all go code is well formatted."
diff -u <(echo -n) <(gofmt -d .)

echo ">> Vetting github.com/gopherjs/gopherjs"
go tool vet *.go

echo ">> vet all subdirectories except tests and third_party."
for d in */; do echo $d; done | grep -v tests/ | grep -v third_party/ | grep -v vendor/ | xargs go tool vet

echo ">> All those packages should have // +build js."
diff -u <(echo -n) <(go list ./compiler/natives/src/...)

echo ">> Should build successfully (can't run tests, since only client is supported)."
gopherjs install -v net/http

echo ">> Run the core gopherjs tests; exclusions take from .std_test_pkg_exclusions."
go list std | grep -v -x -f .std_test_pkg_exclusions | xargs gopherjs test --minify -v --short github.com/gopherjs/gopherjs/tests/...

echo ">> Race tests."
go test -v -race ./...

echo ">> Non-minified gopherjs tests should also work."
gopherjs test -v fmt
81 changes: 81 additions & 0 deletions _vendor/src/github.com/gopherjs/gopherjs/.std_test_pkg_exclusions
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# these are go list std packages we want to exclude from our tests
context
crypto
crypto/internal/cipherhw
crypto/tls
crypto/x509/pkix
debug/gosym
debug/plan9obj
encoding
go/build
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/internal/srcimporter
go/types
hash
image/color/palette
image/internal/imageutil
internal/cpu
internal/nettrace
internal/poll
internal/race
internal/singleflight
internal/syscall/unix
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
internal/testenv
internal/testlog
internal/trace
log
log/syslog
net
net/http
net/http/cgi
net/http/httptest
net/http/httptrace
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/rpc
net/smtp
os
os/exec
os/signal
os/signal/internal/pty
os/user
plugin
runtime
runtime/cgo
runtime/debug
runtime/internal/atomic
runtime/internal/sys
runtime/pprof
runtime/pprof/internal/profile
runtime/race
runtime/trace
syscall
testing
testing/internal/testdeps
testing/iotest
unsafe
vendor/golang_org/x/crypto/chacha20poly1305
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
vendor/golang_org/x/crypto/cryptobyte
vendor/golang_org/x/crypto/cryptobyte/asn1
vendor/golang_org/x/crypto/curve25519
vendor/golang_org/x/crypto/poly1305
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/idna
vendor/golang_org/x/net/internal/nettest
vendor/golang_org/x/net/lex/httplex
vendor/golang_org/x/net/nettest
vendor/golang_org/x/net/proxy
vendor/golang_org/x/text/secure
vendor/golang_org/x/text/secure/bidirule
vendor/golang_org/x/text/transform
vendor/golang_org/x/text/unicode
vendor/golang_org/x/text/unicode/bidi
vendor/golang_org/x/text/unicode/norm
2 changes: 1 addition & 1 deletion _vendor/src/github.com/gopherjs/gopherjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Now you can use `gopherjs build [package]`, `gopherjs build [files]` or `gopherj

#### gopherjs run, gopherjs test

If you want to use `gopherjs run` or `gopherjs test` to run the generated code locally, install Node.js 4.x (or newer), and the `source-map-support` module:
If you want to use `gopherjs run` or `gopherjs test` to run the generated code locally, install Node.js 10.0.0 (or newer), and the `source-map-support` module:

```
npm install --global source-map-support
Expand Down
Loading