Code Monkey home page Code Monkey logo

beginning-bazel's Introduction

Apress Source Code

This repository accompanies Beginning Bazel by P.J. McNerney (Apress, 2020).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

beginning-bazel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

beginning-bazel's Issues

Page 38 and Page 112

bazel build ... results always in (assuming we use Bazel version 1.0.0):
Skipping '../..': Bad target pattern '../..': package name component contains only '.' characters

Should be:

bazel build //...

Steps for reproducing this behavior:

Ubuntu 18.04:

git clone https://github.com/Apress/beginning-bazel.git
cd beginning-bazel
cd chapter_03
echo "1.0.0" > .bazelversion
bazelisk build //... # Works
bazelisk build ... # Does not work

Output of last command:

INFO: Writing tracer profile to '/home/newton/.cache/bazel/_bazel_newton/56e03e27edcaefacc0ba2679997515e1/command.profile.gz'
ERROR: Skipping '../..': Bad target pattern '../..': package name component contains only '.' characters
WARNING: Target pattern parsing failed.
ERROR: Bad target pattern '../..': package name component contains only '.' characters
INFO: Elapsed time: 0.091s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

Page 48

Each of these rules are designed to retrieve remote Bazel repositories and make their contains targets available as dependencies for your project.

Should be: contained

Page 76

The format of the text is wrong - looks like source code/terminal output

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.