Skip to content

Commit 4d8e563

Browse files
committed
update docs for downloading binary
1 parent 86e152f commit 4d8e563

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/upload.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
${{ runner.os }}-yarn-
2626
2727
- name: wget
28-
run: mkdir ci-bin/ && wget -O ci-bin/cr http://repo.calcit-lang.org/binaries/linux/cr
28+
run: mkdir ci-bin/ && wget -O ci-bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.0-a3-build2/cr
2929
- name: "permission"
3030
run: chmod +x ci-bin/cr
3131

content/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ println $ {}
3636
'
3737
```
3838

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

4141
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.
4242

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<body>
2323
<div class="app" ></div>
2424

25-
<script type="module" src="./main.js" ></script>
25+
<script type="module" src="./main.mjs" ></script>
2626

2727
</body>
2828

main.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

main.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
import { main_$x_ } from "./js-out/app.main.mjs"
3+
4+
main_$x_()
5+
6+
if (import.meta.hot) {
7+
import.meta.hot.accept('./js-out/app.main.mjs', (main) => {
8+
main.reload_$x_()
9+
})
10+
}

0 commit comments

Comments
 (0)