about summary refs log tree commit diff stats
path: root/example/example.gyp
diff options
context:
space:
mode:
authorFedor Indutny <fedor@indutny.com>2016-06-06 17:13:16 -0400
committerFedor Indutny <fedor@indutny.com>2016-06-06 17:13:16 -0400
commitf19bb5ca2af907e02eb8cad58b4d59d9ceb194aa (patch)
treee562e73c5a4411b40459a1c8f94f42f5b69d7409 /example/example.gyp
parentf149d0ea93935b0d2d71461940ded54f49be64c6 (diff)
downloaduv_link_t-f19bb5ca2af907e02eb8cad58b4d59d9ceb194aa.tar.gz
src: port to gypkg
Diffstat (limited to 'example/example.gyp')
-rw-r--r--example/example.gyp10
1 files changed, 8 insertions, 2 deletions
diff --git a/example/example.gyp b/example/example.gyp
index a3dc597..bb1bbd0 100644
--- a/example/example.gyp
+++ b/example/example.gyp
@@ -7,9 +7,15 @@
       "src"
     ],
 
+    "variables": {
+      "gypkg_deps": [
+        "git://github.com/libuv/libuv.git#v1.9.1:uv.gyp:libuv",
+      ],
+    },
+
     "dependencies": [
-      "../test/deps/libuv/uv.gyp:libuv",
-      "../uv_link_t.gyp:uv_link_t"
+      "<!@(gypkg deps <(gypkg_deps))",
+      "../uv_link_t.gyp:uv_link_t",
     ],
 
     "sources": [