Skip to content

Commit 956080e

Browse files
committed
Use Config/build/compilation-database
1 parent ca0131b commit 956080e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
to your `DESCRIPTION` file:
77

88
```
9-
Config/devtools/compilation-database: true
9+
Config/build/compilation-database: true
1010
```
1111

1212
You'll also want to add `compile_commands.json` to your gitignore and

R/compilation-db.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ generate_db <- function(path = ".") {
4040

4141
has_compilation_db <- function(desc) {
4242
field <- toupper(desc$get_field(
43-
"Config/devtools/compilation-database",
43+
"Config/build/compilation-database",
4444
default = FALSE
4545
))
4646

4747
out <- as.logical(field)
48-
check_bool(out, arg = "Config/devtools/compilation-database")
48+
check_bool(out, arg = "Config/build/compilation-database")
4949

5050
out
5151
}

0 commit comments

Comments
 (0)