We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b4194 commit 7d01c20Copy full SHA for 7d01c20
lib/nerves/package/platform.ex
@@ -66,4 +66,15 @@ defmodule Nerves.Package.Platform do
66
artifact to the local build_path location.
67
"""
68
@callback build_path_link(package :: Nerves.Package.t()) :: build_path_link :: String.t()
69
+
70
+ # Deprecated. Avoid using in new code.
71
+ #
72
+ # This is used in nerves_toolchain_ctng and can't be removed without breaking
73
+ # the toolchain integration.
74
+ defmacro __using__(_) do
75
+ quote do
76
+ @behaviour Nerves.Artifact.BuildRunner
77
+ @behaviour Nerves.Package.Platform
78
+ end
79
80
end
0 commit comments