Skip to content

Commit

Permalink
Revert "Add x-generated-by header"
Browse files Browse the repository at this point in the history
This reverts commit 2614048.
  • Loading branch information
rgrinberg committed Apr 29, 2019
1 parent f8584c4 commit 5956d53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/opam_create.ml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ let correct project (package : Package.t)=
opt (Option.map ~f:(Format.asprintf "%a" Dune_project.Source_kind.pp)
(Dune_project.source project)) (set_string "dev-repo") >>>
set_string "opam-version" "2.0" >>>
set_string "x-generated-by" "dune-%%VERSION%%" >>>
fixup

let add_rule sctx ~project ~pkg =
Expand Down
2 changes: 0 additions & 2 deletions test/blackbox-tests/test-cases/dune-project-meta/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ The `dune build` should work.
Promoting _build/default/cohttp.opam.expected to cohttp.opam.
[1]
$ cat test-fields/cohttp.opam
x-generated-by: "dune-%%VERSION%%"
opam-version: "2.0"
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
authors: ["Anil Madhavapeddy" "Rudi Grinberg"]
Expand All @@ -29,7 +28,6 @@ The `dune build` should work.
description: "A longer description"
synopsis: "An OCaml library for HTTP clients and servers"
$ cat test-fields/cohttp-async.opam
x-generated-by: "dune-%%VERSION%%"
opam-version: "2.0"
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
authors: ["Anil Madhavapeddy" "Rudi Grinberg"]
Expand Down

0 comments on commit 5956d53

Please sign in to comment.