Skip to content

Commit

Permalink
Update dependencies. (#78)
Browse files Browse the repository at this point in the history
* Update dependencies.

* Fix versions.

* Update web-toitdocs again.

* Update web-tpkg again.
  • Loading branch information
floitsch authored Sep 10, 2022
1 parent 0d3a586 commit 0ed4a01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,21 @@ TEST_FLAGS ?=
test: $(GO_MOCKS)
tedi test -v -cover $(TEST_FLAGS) $(foreach dir,$(filter-out third_party/, $(sort $(dir $(wildcard */)))),./$(dir)...)

WEB_TOITDOCS_VERSION ?= v0.1.0
WEB_TOITDOCS_VERSION ?= v0.2.4
$(BUILD_DIR)/web_toitdocs/$(WEB_TOITDOCS_VERSION):
mkdir -p $(BUILD_DIR)/web_toitdocs/$(WEB_TOITDOCS_VERSION)
gsutil cp gs://toit-web/toitdocs.toit.io/$(WEB_TOITDOCS_VERSION).tar.gz $(BUILD_DIR)/web_toitdocs/$(WEB_TOITDOCS_VERSION)
cd $(BUILD_DIR)/web_toitdocs/$(WEB_TOITDOCS_VERSION) && tar -xzf $(WEB_TOITDOCS_VERSION).tar.gz
rm -rf $(BUILD_DIR)/web_toitdocs/$(WEB_TOITDOCS_VERSION)/$(WEB_TOITDOCS_VERSION).tar.gz

SDK_VERSION ?= v2.0.0-alpha.14
SDK_VERSION ?= v2.0.0-alpha.21
$(BUILD_DIR)/sdk/$(SDK_VERSION):
mkdir -p $(BUILD_DIR)/sdk/$(SDK_VERSION)
curl -L -o $(BUILD_DIR)/sdk/$(SDK_VERSION)/toit-linux.tar.gz https://github.com/toitlang/toit/releases/download/$(SDK_VERSION)/toit-linux.tar.gz
cd $(BUILD_DIR)/sdk/$(SDK_VERSION) && tar --strip-components=1 -xzf toit-linux.tar.gz
rm -rf $(BUILD_DIR)/sdk/$(SDK_VERSION)/toit-linux.tar.gz

WEB_TPKG_VERSION ?= v0.0.1-pre.1+4b4b130
WEB_TPKG_VERSION ?= v0.1.2
$(BUILD_DIR)/web_tpkg/$(WEB_TPKG_VERSION):
mkdir -p $(BUILD_DIR)/web_tpkg/$(WEB_TPKG_VERSION)
gsutil cp gs://toit-web/pkg.toit.io/$(WEB_TPKG_VERSION).tgz $(BUILD_DIR)/web_tpkg/$(WEB_TPKG_VERSION)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/onsi/gomega v1.14.0 // indirect
github.com/spf13/afero v1.1.2 // indirect
github.com/spf13/viper v1.7.0
github.com/toitlang/tpkg v0.0.0-20220727131228-5d149728b2ba
github.com/toitlang/tpkg v0.0.0-20220817100231-9b6e93cbd21d
github.com/twmb/murmur3 v1.1.5 // indirect
github.com/uber-go/tally v3.4.1+incompatible
github.com/valyala/fasthttp v1.28.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ github.com/toitlang/tpkg v0.0.0-20211122165249-e0dfea186707 h1:KAa00iClHa1CKs47B
github.com/toitlang/tpkg v0.0.0-20211122165249-e0dfea186707/go.mod h1:LQTX3L+ZoPC35JAiIaJ3BSkxOFxqrDhuxHIFVGDVrdQ=
github.com/toitlang/tpkg v0.0.0-20220727131228-5d149728b2ba h1:NE5uwnOlv1Ib9pqJTQEksLwp91j8PwqySyG/zG9Gs0A=
github.com/toitlang/tpkg v0.0.0-20220727131228-5d149728b2ba/go.mod h1:8+mRIFIKJxHMEAu8H5MxkaY/fLALKSEguBBIm8D0lG8=
github.com/toitlang/tpkg v0.0.0-20220817100231-9b6e93cbd21d h1:1jwW+qPQAjBAqcycXITrM6apcex//i/Zcz7s+wF1z0g=
github.com/toitlang/tpkg v0.0.0-20220817100231-9b6e93cbd21d/go.mod h1:8+mRIFIKJxHMEAu8H5MxkaY/fLALKSEguBBIm8D0lG8=
github.com/twmb/murmur3 v1.1.5 h1:i9OLS9fkuLzBXjt6dptlAEyk58fJsSTXbRg3SgVyqgk=
github.com/twmb/murmur3 v1.1.5/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ=
github.com/uber-go/tally v3.4.1+incompatible h1:LXdA0lvxieCFm85XiRFb+SuhuiOFMSWyEGkvDqDOpbA=
Expand Down

0 comments on commit 0ed4a01

Please sign in to comment.