Skip to content
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
13 changes: 4 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: denoland/setup-deno@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run test
#- run: npm run lint
- run: npm run build
deno-version: v1.x

- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: "1.19"

- name: Install Apex CLI
run: wget -q https://apexlang.io/install.sh -O - | /bin/bash
run: deno install -A --unstable -f -n apex https://deno.land/x/apex_cli/apex.ts

- name: Generator diff test
run: ./diffcheck.sh
Expand Down
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"deno.enable": true,
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
}
24 changes: 14 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ Make sure you have the Apex CLI installed. Here are [the instructions](https://a
From your terminal, run:

```shell
apex install @wapc/codegen
apex install https://deno.land/x/wapc_codegen/templates.ts
```

```shell
INFO Installing @wapc/assemblyscript...
INFO Installing @wapc/rust...
INFO Installing @wapc/tinygo...
```

Now you should see waPC project templates available.
Expand All @@ -19,22 +25,20 @@ apex list templates
```

```
+-----------------------+-------------------------------------+
| NAME | DESCRIPTION |
+-----------------------+-------------------------------------+
| ... | ... |
| @wapc/assemblyscript | AssemblyScript waPC module project |
| @wapc/tinygo | TinyGo waPC module project |
| @wapc/rust | Rust waPC module project |
+-----------------------+-------------------------------------+
┌──────────────────────┬────────────────────────────────────┐
│ Name │ Description │
└──────────────────────┴────────────────────────────────────┘
@wapc/assemblyscript AssemblyScript waPC module project
@wapc/rust TinyGo waPC module project
@wapc/tinygo TinyGo waPC module project
```

To create a new TinyGo waPC module, run:

```shell
apex new @wapc/tinygo hello-world
cd hello-world
make
apex all
ls -l build
```

Expand Down
1 change: 0 additions & 1 deletion assemblyscript.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion assemblyscript.js

This file was deleted.

Loading