-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.rcl
30 lines (26 loc) · 1.25 KB
/
build.rcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// RCL -- A reasonable configuration language.
// Copyright 2024 Ruud van Asseldonk
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// A copy of the License has been included in the root of the repository.
// This file is the entry point for all generated files in this repository.
// The source file is generally named like the generated file, but with .rcl
// extension. The primary purpose of generating these files is to put the
// version number in one single place, so it's impossible to forget to bump
// one of them when making a new release.
let opts_toml = {
format = "toml",
banner = "# This file is generated, see build.rcl in the repository root.\n",
};
{
"Cargo.toml": opts_toml | { contents = import "//Cargo.rcl" },
"fuzz/Cargo.toml": opts_toml | { contents = import "//fuzz/Cargo.rcl" },
"grammar/tree-sitter-rcl/Cargo.toml":
opts_toml
| { contents = import "//grammar/tree-sitter-rcl/Cargo.rcl" },
"grammar/zed/extension.toml":
opts_toml
| { contents = import "//grammar/zed/extension.rcl" },
"pyrcl/Cargo.toml": opts_toml | { contents = import "//pyrcl/Cargo.rcl" },
"wasm/Cargo.toml": opts_toml | { contents = import "//wasm/Cargo.rcl" },
}