All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] glide.bbclass: Add class to easy Glide use
@ 2018-03-06 17:07 Otavio Salvador
  0 siblings, 0 replies; only message in thread
From: Otavio Salvador @ 2018-03-06 17:07 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: Otavio Salvador

To use 'glide' this class does the integration and reduces code
duplication.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

 meta/classes/glide.bbclass | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta/classes/glide.bbclass

diff --git a/meta/classes/glide.bbclass b/meta/classes/glide.bbclass
new file mode 100644
index 0000000000..52291bab8c
--- /dev/null
+++ b/meta/classes/glide.bbclass
@@ -0,0 +1,9 @@
+# Handle Glide Vendor Package Management use
+#
+# Copyright 2018 (C) O.S. Systems Software LTDA.
+
+DEPENDS_append = " glide-native"
+
+do_compile_prepend() {
+    ( cd ${WORKDIR}/build/src/${GO_IMPORT} && glide install )
+}
-- 
2.16.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-06 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06 17:07 [PATCH] glide.bbclass: Add class to easy Glide use Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.