Open xfap opened 1 year ago
bazel build -c opt //:install_foo -- ~/test but get error message "not a valid absolute pattern (absolute target patterns must start with exactly two slashes): '/home/xxx/test'...." Confused about this, and how could resolve it?
bazel build -c opt //:install_foo -- ~/test
Hmm, do you have a reproducible command I could try to debug for you. I think your example isn't "real" if I'm not mistaken.
Can you try run instead of build?
run
build
bazel run -c opt //:install_foo -- ~/test
bazel build -c opt //:install_foo -- ~/test
but get error message "not a valid absolute pattern (absolute target patterns must start with exactly two slashes): '/home/xxx/test'...." Confused about this, and how could resolve it?