-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Nerves version check to deps.precompile
If a user does not have a `deps` folder with Nerves fetched, then the new Nerves version check would error out as Nerves.Bootstrap is starting. However, the compilation would continue and other libs later on would fail to compile because they would be missing the Nerves tooling as a result of the bootstraping crash. To fix this, the check has been moved to the `nerves.bootstrap` task and also added before `deps.precompile` to ensure the deps are fetched first before attempting to read any of the `:nerves` dep information
- Loading branch information
1 parent
831239d
commit e75ba4c
Showing
5 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Run `mix dialyzer --format short` for strings | ||
[ | ||
{"lib/nerves_bootstrap.ex:52:unknown_function Function Hex.start/0 does not exist."}, | ||
{"lib/nerves_bootstrap.ex:53:unknown_function Function Hex.API.Package.get/2 does not exist."} | ||
{"lib/nerves_bootstrap.ex:41:unknown_function Function Hex.start/0 does not exist."}, | ||
{"lib/nerves_bootstrap.ex:42:unknown_function Function Hex.API.Package.get/2 does not exist."} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters