File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change
1
+ .PHONY : all
2
+ MAKEFLAGS += --silent
3
+
4
+ all : help
5
+
6
+ help :
7
+ @grep -E ' ^[a-zA-Z1-9\._-]+:.*?## .*$$' $(MAKEFILE_LIST ) \
8
+ | sort \
9
+ | sed -e " s/^Makefile://" -e " s///" \
10
+ | awk ' BEGIN { FS = ":.*?## " }; { printf "\033[36m%-30s\033[0m %s\n", $$1, $$2 }'
11
+
12
+ build :
13
+ edgee components build
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ This is an example of a C# Edgee Component.
15
15
16
16
## Setup
17
17
Requirements:
18
+ - [ edgee-cli] (https://github.com/edgee-cloud/edgee )
18
19
- dotnet SDK 9.0
19
20
- Modify the csproj file to match your OS:
20
21
- On Linux
@@ -25,5 +26,5 @@ Requirements:
25
26
## Building
26
27
27
28
``` shell
28
- $ dotnet build
29
+ $ make build
29
30
```
Original file line number Diff line number Diff line change
1
+ manifest_version = 1
2
+
3
+ [package ]
4
+ name = " example-cs-component"
5
+ version = " 1.0.0"
6
+ category = " data-collection"
7
+ subcategory = " analytics"
8
+ description = " Example CSharp component for data collection"
9
+ documentation = " https://github.com/edgee-cloud/example-cs-component"
10
+ repository = " https://github.com/edgee-cloud/example-cs-component"
11
+ wit-world-version = " 0.4.0"
12
+
13
+ [package .build ]
14
+ command = " dotnet build && mv ./bin/Debug/net9.0/wasi-wasm/publish/example-cs-component.wasm ./dc-component.wasm"
15
+ output_path = " ./dc-component.wasm"
You can’t perform that action at this time.
0 commit comments