File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ api_version = "unstable"
2
2
3
3
[[extensions]]
4
4
name = "t:name"
5
- handle = "{{handle }}"
5
+ handle = "{{handle | replace: " " , "-" | downcase }}"
6
6
type = "function"
7
7
{% if uid %}uid = "{{ uid }}"{% endif %}
8
8
description = "t:description"
@@ -19,7 +19,7 @@ description = "t:description"
19
19
20
20
[extensions.build]
21
21
command = "cargo build --target=wasm32-wasip1 --release"
22
- path = "target/wasm32-wasip1/release/discount-function-rust.wasm/ {{handle | replace: " " , "-" | downcase }}.wasm"
22
+ path = "{{handle | replace: " " , "-" | downcase }}.wasm"
23
23
watch = [ "src/**/*.rs" ]
24
24
25
25
[extensions.ui]
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ api_version = "unstable"
2
2
3
3
[[extensions]]
4
4
name = "t:name"
5
- handle = "{{handle }}"
5
+ handle = "{{handle | replace: " " , "-" | downcase }}"
6
6
type = "function"
7
7
{% if uid %}uid = "{{ uid }}"{% endif %}
8
8
description = "t:description"
@@ -29,8 +29,5 @@ description = "t:description"
29
29
30
30
[extensions.build]
31
31
command = "cargo build --target=wasm32-wasip1 --release"
32
- path = "target/wasm32-wasip1/release/function-network-rust.wasm/ {{handle | replace: " " , "-" | downcase }}.wasm"
32
+ path = "{{handle | replace: " " , "-" | downcase }}.wasm"
33
33
watch = [ "src/**/*.rs" ]
34
-
35
- [extensions.ui]
36
- handle = "{{handle }}"
You can’t perform that action at this time.
0 commit comments