mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
// 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" },
|
|
}
|