Skip to content

Commit e88154e

Browse files
committed
Add github dependency section
1 parent c6c4659 commit e88154e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

guides/advanced/building-sytems.md

+15
Original file line numberDiff line numberDiff line change
@@ -448,3 +448,18 @@ git push
448448
```
449449
450450
Now you can go to your `nerves_systems/config/config.exs` and add it to your systems.
451+
452+
You can also use it in your nerves project as `:github` dependency now.
453+
454+
```elixir
455+
# Add system into targets
456+
@alltargets [
457+
:custom_rpi3,
458+
:rpi,
459+
...
460+
]
461+
462+
463+
# Update the `custom_rpi3` dep in your `deps/0` function.
464+
{:custom_rpi3, github: "YourGitHubUserName/custom_rpi3", runtime: false, targets: :custom_rpi3}
465+
```

0 commit comments

Comments
 (0)