Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding first example #3317

Merged
merged 10 commits into from
Dec 1, 2022
Merged

Adding first example #3317

merged 10 commits into from
Dec 1, 2022

Commits on Nov 29, 2022

  1. Adding first example

    This PR includes the source code for the tutorial that is hosted
    here: https://bazel-contrib.github.io/SIG-rules-authors/go-tutorial.html
    
    The code for the above html is on the gh-pages branch of the
    SIG-rules-authors repository:
    https://github.com/bazel-contrib/SIG-rules-authors/tree/gh-pages
    
    This tutorial source code includes:
    
    - basic go rules support
    - a basic cobra CLI application
    - unit test
    - Gazelle support
    
    After this PR is finalized we I will update the tutorial markdown.
    
    We are also adding CI/CD for the example.  This PR modifies the
    presubmit.yml file.  This project also uses the words file that
    requires the installation of wamerican.
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    8d3d44c View commit details
    Browse the repository at this point in the history
  2. Updates for PR review

    - renamed the tutorial to basic-gazelle
    - updated roll_dice to use instead of the word generator
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    75aca95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05aa329 View commit details
    Browse the repository at this point in the history
  4. More Cleanup

    - removing the word example code
    - creating testing code for roll dice
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    043b381 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    94d65ac View commit details
    Browse the repository at this point in the history
  6. Updated go mod

    - removed dep that we do not need
    - changed path
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    f3b5873 View commit details
    Browse the repository at this point in the history
  7. removing dep

    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    31e8f99 View commit details
    Browse the repository at this point in the history
  8. Adding klog as the dependency

    - Imported klog
    - added klog to different go files
    - used bazel to update go.mod
    - used gazelle to updated the BUILD files
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    615d24e View commit details
    Browse the repository at this point in the history
  9. Adding macos test

    Adding testing the examples with the macos platform.
    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    c579123 View commit details
    Browse the repository at this point in the history
  10. Adding windows test

    chrislovecnm committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    e50a9f1 View commit details
    Browse the repository at this point in the history