Skip to content

Commit

Permalink
update docs for downloading binary
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jul 22, 2022
1 parent 86e152f commit 4d8e563
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
${{ runner.os }}-yarn-
- name: wget
run: mkdir ci-bin/ && wget -O ci-bin/cr http://repo.calcit-lang.org/binaries/linux/cr
run: mkdir ci-bin/ && wget -O ci-bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.0-a3-build2/cr
- name: "permission"
run: chmod +x ci-bin/cr

Expand Down
2 changes: 1 addition & 1 deletion content/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ println $ {}
'
```

Ubuntu 20.04 binaries can be found on [bin.calcit-lang.org](http://bin.calcit-lang.org/linux/) for running in CI environments.
Ubuntu binaries can be found on [GitHub Releases](https://github.com/calcit-lang/calcit/releases) for running in CI environments.

Read more in [Minimal Calcit](https://github.com/calcit-lang/minimal-calcit/blob/main/README.md) to learn how to code Calcit with a **plain text editor**. You will need another command `bundle_calcit` for bundling individual files.

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<body>
<div class="app" ></div>

<script type="module" src="./main.js" ></script>
<script type="module" src="./main.mjs" ></script>

</body>

Expand Down
10 changes: 0 additions & 10 deletions main.js

This file was deleted.

10 changes: 10 additions & 0 deletions main.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

import { main_$x_ } from "./js-out/app.main.mjs"

main_$x_()

if (import.meta.hot) {
import.meta.hot.accept('./js-out/app.main.mjs', (main) => {
main.reload_$x_()
})
}

0 comments on commit 4d8e563

Please sign in to comment.