Commit Graph

26 Commits

Author SHA1 Message Date
John Bartholomew
e1304d1698 update cppjsonnet and depend on a specific commit of jsonnet
This changes the bazel module dependencies so that the C++ jsonnet
repo dependency (which is actually used as the source for the
standard library and nothing else in the Bazel build) comes from
a specific commit of the jsonnet repo, rather than depending on
the 'published' jsonnet 0.20.0.

The two repos are tightly coupled anyway so I think this more
accurately reflects the situation. Particularly since the C++ repo
is also linked (at a specific commit) as a git submodule, which
is used for non-Bazel build and testing.
2025-01-20 21:45:24 +00:00
John Bartholomew
64c3804248 update Bazel rules with gazelle and manually 2025-01-20 21:45:24 +00:00
John Bartholomew
74c8d09d4a feat: update cpp-jsonnet and stdlib to latest (unreleased)
This includes the stdlib additions in
https://github.com/google/jsonnet/pull/1187

Also updates golden files for go-jsonnet tests; the changes
to the goldens are mostly changes to error locations from
the standard library.
2025-01-18 17:12:28 +00:00
itchyny
463509825c
chore: update rules_go and gazelle version to fix bazel build (#756)
* chore: update rules_go and gazelle version to fix bazel build

* chore: fix source file list in ast directory (ref: #746)

* chore: fix dependency list in formatter directory
2024-06-10 21:24:27 +01:00
Aidan Rowe
5d760fb622
bump cpp_jsonnet dependency to align with v0.20.0 release (#748) 2024-06-09 19:22:09 +01:00
Rohit Jangid
aece6e9b90
feat: add more crypto functions (#699)
* feat: add more crypto functions
2023-06-13 17:18:02 +01:00
Dave Cunningham
c484aec526 increase go rules version to fix bazel build 2023-04-14 16:34:55 +01:00
August Karlstedt
b4633b66f8 Update deps.bzl 2022-10-31 14:49:09 +00:00
Dave Cunningham
c298238534 Bump version to v0.19.1 2022-10-27 20:58:41 +01:00
Dave Cunningham
1b99719599 Update python to match cpp version 2022-10-27 20:41:44 +01:00
Dave Cunningham
ec039600bc Update version to v0.19.0 2022-10-26 20:56:31 +01:00
Dave Cunningham
c1825dc54d Update to latest CPP version 2022-10-26 16:13:21 +01:00
Angus Lees
aa9d35a814 Fix bazel builds on recent macOS
Update `golang.org/x/sys` package to address golang/go#51706

Update bazel `rules_go` to address bazelbuild/rules_go#3199
2022-10-26 13:02:42 +01:00
Angus Lees
eaf78af502 Update cpp-jsonnet reference to match git submodule version
Unlike naive `go build`, bazel builds generate `astgen/stdast.go` on
the fly from cpp_jsonnet's stdlib.  Cool.

Previously however, the cpp_jsonnet versions in git submodule (used by
naive `go build`) and bazel `http_archive` declarations were not in
sync.  Not so cool.

This meant `bazel test //:go_default_test` failed on
`TestEval/testdata/stdlib_smoke_test`, since the stale bazel
cpp_jsonnet version lacked `std.get`.

This PR updates cpp-jsonnet to match git submodule version.
2022-10-26 11:26:50 +01:00
Angus Lees
69137c91b6 Update bazel cpp_jsonnet reference from update_cpp_jsonnet.sh
Teach `update_cpp_jsonnet.sh` to update the cpp_jsonnet reference in
`bazel/repositories.bzl` too.
2022-10-26 11:26:50 +01:00
Dave Cunningham
03df4dc6e9 Revert "Don't pass version to go_register_toolchains() by default"
This reverts commit c17729a921.
2022-10-25 19:29:45 +01:00
Gustaf Lindstedt
c17729a921 Don't pass version to go_register_toolchains() by default
It is disallowed to pass the version parameter if a toolchain has
already been registered.
2022-10-25 14:16:05 +01:00
Erik Godding Boye
32b292c9cb Bump dependency to fatih/color 2022-05-25 11:43:43 +01:00
Greg Roodt
0d78479d37 Add go_sdk_version parameter 2022-03-18 01:51:10 +00:00
Greg Roodt
e6a9581713
Adds std.parseYaml (#339)
Add support for std.parseYaml.

Co-authored-by: Stanisław Barzowski <stanislaw.barzowski@gmail.com>
2021-05-20 14:16:23 +02:00
Harsimran Singh Maan
1b7cbff4cd Add github actions ci 2021-05-19 16:00:28 +02:00
Hanyu Cui
cd59751527
Distinguish go-jsonnet from cpp-jsonnet in version message (#497)
Distinguish the Go implementation in the version message
2021-01-13 20:46:15 +01:00
Stanisław Barzowski
0d1d4cb812 Release 0.17.0 2020-11-22 15:45:52 +01:00
Zhongpeng Lin
eced33e88b Using cpp_jsonnet as external repo 2020-10-30 19:45:27 +01:00
Dave Cunningham
724650d358
Add native golang formatter (#388)
Add native golang formatter
2020-03-10 22:19:49 +00:00
Steve Harris
4996d46471 Allow use of Bazel repository externally 2019-07-04 13:09:47 +02:00