Commit Graph

23 Commits

Author SHA1 Message Date
Lee Cannon
a3af1c76a3
support pkgconfig 2022-09-26 21:38:10 +01:00
Techatrix
dc3199cffa unmanage all the code 2022-08-23 12:44:26 +02:00
Techatrix
333b1bad8c fix Path <-> Uri mismatch 2022-08-22 16:54:56 +02:00
Techatrix
1859afd4c5 emit JSON formatted packages & include dirs in build_runner.zig 2022-08-18 22:56:03 +02:00
Lee Cannon
98e5451d98
support 0.9 and master (#561) 2022-07-24 17:08:14 -04:00
Auguste Rame
04611ba1a1
Fix build runner for latest Zig 2022-05-30 02:04:34 -04:00
Marten Ringwelski
abe82f6069
build_runner: Require some paths to be given (#369)
We now require the following to ge given in the cli args:
- zig_exe
- build_root
- cache_root
- global_cache_root

This fixes the path for packages that use one or more from the above to place
their files.
2021-12-11 12:42:18 -05:00
Matt Knight
f9133ffdec allocgate defeated 2021-12-03 08:00:22 -05:00
Alexandros Naskos
a02c1e7996
Build runner: Only output generated package path if it is available 2021-06-16 14:47:54 +03:00
Lee Cannon
1178ebd2e2
More changes to std.build :) 2021-06-15 21:15:55 +01:00
Lee Cannon
a077cf901d
Update build_runner.zig
I'm not 100% sure if the `GeneratedFile`'s path will have been resolved when this code runs or if this will hit the panic inside `getPath()` as I havent had a chance to actually mess about with the new functionality.
2021-06-12 23:06:48 +01:00
Lee Cannon
584faec5de Call in build_runner 2021-05-13 21:29:05 +01:00
Alexandros Naskos
e7f8a8dcd9
zls will now run the package extraction build runner without copying it
in the destination folder. Instead, it will use a specific cache folder
  and run from the default cwd it was run from.
Added build_runner_cache_path to the configuration file.
2021-01-12 13:10:51 +02:00
Nameless
966a6068cc
fix inStream deprecation 2021-01-10 19:49:21 -06:00
Lee Cannon
2a9edf243d Fixed string printing with {s} format specifier 2021-01-04 17:51:26 +00:00
antlilja
da7ce66910
Pass global cache argument to Builder.create. 2020-12-11 00:38:05 +01:00
Alexandros Naskos
c1d7f0ffa7 Fix build_runner.zig 2020-10-04 17:08:49 +03:00
Alexandros Naskos
8d376a077c Fix build runner 2020-07-24 15:03:21 +03:00
prime31
b1b355c4ac
fixes steps with packages in sub-steps 2020-06-18 17:51:39 -07:00
Alexandros Naskos
819b367360 Extract packages from all top level steps 2020-06-15 02:26:54 +03:00
Alexandros Naskos
f008a776e2 Removed debug traces, added comment 2020-05-25 11:30:12 +03:00
Alexandros Naskos
1f23ba8490 Use new build.zig functions to get the correct steps 2020-05-25 11:28:38 +03:00
Alexandros Naskos
3b052372c2 Added custom build runner, install it along with the zls binary 2020-05-25 03:22:39 +03:00