b <function>
register read $arg1
| extern crate curl; | |
| extern crate futures; | |
| extern crate time; | |
| extern crate tokio_core; | |
| extern crate tokio_curl; | |
| extern crate tokio_timer; | |
| use curl::easy::Easy; | |
| use futures::Future; | |
| use time::PreciseTime; |
| TEST_TMPDIR=`pwd`/cc | |
| mkdir -p $TEST_TMPDIR | |
| PATH=/Users/obonilla/o/bazel/bazel-bin/src:$PATH | |
| set -ex | |
| DFLG="" | |
| test x"$DEBUG" = x || DFLG='--host_jvm_args="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005' | |
| which bazel |
| objc_library implicit dependencies | |
| cc_library implicit dependencies | |
| objc_lib has 577 objc_deps dependencies | |
| cc_lib has 54 cc_deps dependencies | |
| --- cc_deps 2018-09-27 08:56:39.000000000 -0700 | |
| +++ objc_deps 2018-09-27 08:56:39.000000000 -0700 | |
| @@ -1,13 +1,159 @@ | |
| -//:a.c | |
| -//:cc | |
| +//:a.m |
| Just for images |
| #import <Foundation/Foundation.h> | |
| #import <XCTest/XCTest.h> | |
| @interface TestDumper : NSObject | |
| @end | |
| @implementation TestDumper | |
| + (void)load { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| int | |
| main(int ac, char *av[]) | |
| { | |
| while (getopt(ac, av, "f:n:p:D:") != -1) { | |
| // skip args |
| /* gcc test.c -lutil */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <pty.h> | |
| static int | |
| do_fork(void) | |
| { |
| """ Rules to run controller-gen | |
| """ | |
| load("@io_bazel_rules_go//go:def.bzl", "go_context", "go_path") | |
| load("@io_bazel_rules_go//go/private:providers.bzl", "GoPath") | |
| def _controller_gen_impl(ctx): | |
| go_ctx = go_context(ctx) | |
| gopath = "$(pwd)/" + ctx.bin_dir.path + "/" + ctx.attr.gopath_dep[GoPath].gopath | |
| output = ctx.actions.declare_file("output.go") |