Skip to content

Commit

Permalink
Update toit.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed May 16, 2024
1 parent 85990b8 commit b018744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $(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.112
SDK_VERSION ?= v2.0.0-alpha.147
$(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
Expand Down
3 changes: 2 additions & 1 deletion pkg/toitdoc/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ func (g *generator) generateDocs(ctx context.Context, projectPath string, desc *
"--toitc", g.cfg.ToitcPath(),
"--sdk", g.cfg.Path,
"--exclude-sdk",
"--out", outFile,
"--pkg-name", desc.Name,
"--version", desc.Version,
"--out", outFile,
"./src",
)
cmd.Dir = projectPath
Expand Down

0 comments on commit b018744

Please sign in to comment.