Comments (2)
So, the above actually works. I'm getting an error because the version of jsonnet y'all install is out of date.
I'm not super pleased with the lengthy import statement required here, it'd be nice if jsonnet_library created an importable file, I think.
from rules_jsonnet.
I think you can add import = "external/com_github_ksonnet_lib" to your jsonnet_library rule (or something like that). Then you would import "ksonnet.beta.2/k.libsonnet". (Or even hide the version dir if you wanted).
The version will be updated to 0.10.0 presently.
from rules_jsonnet.
Related Issues (20)
- setup instructions is outdated and does not reference new 0.3.0 release HOT 1
- Update links to JsonNet - https://jsonnet.org HOT 1
- Issue with new bazel_skylib? Error: 'list' value has no field or method '_values' HOT 9
- Add ability to switch progress_message off.
- doc: describe how to import external dependencies HOT 5
- Support Top-Level arguments in non-file mode HOT 1
- Bazel 5 breaking issue: jsonnet_to_json rule break because the underlying Bazel rule doesn't use Depsets.
- Please do a new release to support Bazel 5 HOT 5
- compatibility with jrsonnet
- Using external libraries that depend on other libraries HOT 2
- Support import_prefix and strip_import_prefix attrs in jsonnet_library HOT 2
- incorrect version linked? HOT 1
- yaml_stream is not working
- Unified diff output in jsonnet_to_json_test
- Add rules_jsonnet to the bzlmod registry HOT 1
- Flag --incompatible_config_setting_private_default_visibility will break rules_jsonnet in Bazel 7.0 HOT 3
- no matching toolchains found for types HOT 1
- extra_args is undocumented
- Flag --incompatible_disable_starlark_host_transitions will break rules_jsonnet in Bazel 7.0 HOT 2
- bazel 6.0.0 breakage? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_jsonnet.