GithubHelp home page GithubHelp logo

gogo_gazelle's Introduction

gogo_gazelle

A toy app for getting started with gazelle

Install & Setup

nvm use
npm install -g pnpm
pnpm install

# validate everything works
make test
make run

The program outputs this string on success:

app,dogs,great,are,dogs,food,utilmsg,great,are,pets

Using Gazelle and Bazel

This currently does not work

Generate build files:

bazelisk configure
# or
make bazel-gen

Using Bazel (not working)

bazel query //...
errors with:

ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/src/app/pets/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in src/app/pets/. You must set the tsconfig attribute on @//src/app/pets:pets. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/src/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in src/. You must set the tsconfig attribute on @//src:src. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/libs/dogs/src/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in libs/dogs/src/. You must set the tsconfig attribute on @//libs/dogs/src:src. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/src/app/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in src/app/. You must set the tsconfig attribute on @//src/app:app. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/libs/dogs/src/paws/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in libs/dogs/src/paws/. You must set the tsconfig attribute on @//libs/dogs/src/paws:paws. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/src/app/food/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in src/app/food/. You must set the tsconfig attribute on @//src/app/food:food. ERROR: Traceback (most recent call last): File "/Users/andrewklotz/workspace/bazel_js_playground/gogo_gazelle/src/utils/BUILD.bazel", line 3, column 11, in ts_project( File "/private/var/tmp/_bazel_andrewklotz/088ec916b4fc655548e899ea2cc40be4/external/aspect_rules_ts/ts/defs.bzl", line 273, column 17, in ts_project fail("No tsconfig.json file found in {}/. You must set the tsconfig attribute on {}.".format( Error in fail: No tsconfig.json file found in src/utils/. You must set the tsconfig attribute on @//src/utils:utils. ERROR: package contains errors: src/app/food ERROR: package contains errors: libs/dogs/src/paws ERROR: package contains errors: src/app/pets ERROR: package contains errors: src/utils ERROR: package contains errors: libs/dogs/src ERROR: package contains errors: src/app ERROR: package contains errors: src ERROR: Error evaluating '//...': error loading package 'libs/dogs/src/paws': Package 'libs/dogs/src/paws' contains errors Loading: 8 packages loaded Error: bazel exited with exit code: 7

gogo_gazelle's People

Contributors

klotzandrew avatar

Watchers

 avatar

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.