Giter Club home page Giter Club logo

Comments (4)

mariusgrigoriu avatar mariusgrigoriu commented on June 12, 2024

I would be happy to contribute a PR if the maintainers are ok with using a map for all of the args such as ext_code_files and ext_str_files

from rules_jsonnet.

Globegitter avatar Globegitter commented on June 12, 2024

@mariusgrigoriu The main reason I could not implement what you proposed was due to a limitation in bazel/starlark: bazelbuild/bazel#1232. But if you do find a better way of implementing this I would be very happy to get a PR in.

from rules_jsonnet.

Globegitter avatar Globegitter commented on June 12, 2024

I actually did think of some improvement of this a while ago, because it also becomes a bit weird when one uses a filegroup. I was thinking one way of improving this is that if one only provides the ext_str_files or ext_code_files without the corresponding ext_str_file_vars/ext_code_file_vars it could choose the name automatically based on the file name. Which in would probably be fine for >90% of the cases.

from rules_jsonnet.

Globegitter avatar Globegitter commented on June 12, 2024

But either way, happy to get in any improvements you come up with.

from rules_jsonnet.

Related Issues (20)

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.