forked from facebook/infer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Use plain dune files instead of make-generated JBuilder/OCaml…
… ones Summary: With the introduction of environments and profiles we no longer need to generate most dune files in libraries via make. Also, those dune builds don't need to be in OCaml. In addition to converting build files to plain sexp definitions, this patch also: - Adjusts copyrightCheck to work correctly with sexp-based dune files. - Adds auto-formatting for sexp-based dune files. Reviewed By: jvillard Differential Revision: D20250208 fbshipit-source-id: 495aeaa99
- Loading branch information
1 parent
fc5b092
commit 9fc048b
Showing
13 changed files
with
89 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(library | ||
(name InferIR) | ||
(public_name InferIR) | ||
(flags | ||
(:standard -open Core -open InferStdlib -open IStd -open InferGenerated | ||
-open InferBase)) | ||
(libraries core zarith InferStdlib InferGenerated InferBase) | ||
(preprocess | ||
(pps ppx_compare))) | ||
|
||
(documentation | ||
(package InferIR) | ||
(mld_files index)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(library | ||
(name InferGenerated) | ||
(public_name InferGenerated) | ||
(flags | ||
(:standard -w -27-32-34-35-39)) | ||
(libraries atdgen core) | ||
(preprocess | ||
(pps ppx_compare))) | ||
|
||
(documentation | ||
(package InferGenerated) | ||
(mld_files index)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(library | ||
(name InferBase) | ||
(public_name InferBase) | ||
(flags | ||
(:standard -open Core -open InferStdlib -open IStd -open InferGenerated)) | ||
(libraries cmdliner core mtime.clock.os parmap re sqlite3 zip InferGenerated | ||
InferStdlib) | ||
(preprocess | ||
(pps ppx_compare ppx_enumerate))) | ||
|
||
(documentation | ||
(package InferBase) | ||
(mld_files index)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
(lang dune 2.0) | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(using menhir 1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(library | ||
(name InferStdlib) | ||
(public_name InferStdlib) | ||
(flags | ||
(:standard -open Core)) | ||
(libraries ANSITerminal core str yojson) | ||
(preprocess | ||
(pps ppx_compare))) | ||
|
||
(documentation | ||
(package InferStdlib) | ||
(mld_files index)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
; Copyright (c) Facebook, Inc. and its affiliates. | ||
; | ||
; This source code is licensed under the MIT license found in the | ||
; LICENSE file in the root directory of this source tree. | ||
|
||
(executable | ||
(name checkCopyright) | ||
(modes byte exe) | ||
(flags (:standard)) | ||
(libraries core str) | ||
(preprocess | ||
(pps ppx_compare))) |
This file was deleted.
Oops, something went wrong.