Skip to content

Commit 9fd5f87

Browse files
Merge pull request #191 from ahrefs/emile/rename-lib
rename lib to monorobotlib
2 parents 5cc320c + 368dc04 commit 9fd5f87

10 files changed

Lines changed: 11 additions & 10 deletions

File tree

lib/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(library
2-
(name lib)
2+
(name monorobotlib)
33
(libraries
44
atdgen-runtime
55
base64

lib/text_cleanup/test/text_cleanup_bin/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
(name main)
33
(public_name text_cleanup)
44
(package monorobot)
5-
(libraries text_cleanup lib))
5+
(libraries text_cleanup monorobotlib))

lib/text_cleanup/test/text_cleanup_bin/main.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ let () =
22
In_channel.with_open_bin Sys.argv.(1) (fun file ->
33
let content = In_channel.input_all file in
44
let content =
5-
if Array.length Sys.argv = 3 && Sys.argv.(2) = "--json" then (Lib.Buildkite_j.job_log_of_string content).content
5+
if Array.length Sys.argv = 3 && Sys.argv.(2) = "--json" then
6+
(Monorobotlib.Buildkite_j.job_log_of_string content).content
67
else content
78
in
89

src/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(executable
2-
(libraries lib cmdliner devkit devkit.core extlib lwt.unix uri unix)
2+
(libraries monorobotlib cmdliner devkit devkit.core extlib lwt.unix uri unix)
33
(preprocess
44
(pps lwt_ppx))
55
(public_name monorobot))

src/monorobot.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
open Devkit
2-
open Lib
2+
open Monorobotlib
33
open Cmdliner
44

55
let log = Log.from "monorobot"

src/request_handler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
open Printf
22
open Devkit
3-
open Lib
3+
open Monorobotlib
44

55
let log = Log.from "request_handler"
66

test/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(executables
22
(names test github_link_test longest_prefix_test)
3-
(libraries lib devkit devkit.core extlib lwt.unix yojson)
3+
(libraries monorobotlib devkit devkit.core extlib lwt.unix yojson)
44
(preprocess
55
(pps lwt_ppx)))
66

test/github_link_test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
open Printf
2-
open Lib
2+
open Monorobotlib
33
open Github
44
open Github_t
55

test/longest_prefix_test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
open Lib
1+
open Monorobotlib
22
open Github_t
33
open Slack_message
44

test/test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
open Devkit
2-
open Lib
2+
open Monorobotlib
33

44
let log = Log.from "test"
55
let mock_payload_dir = Filename.concat Filename.parent_dir_name "mock_payloads"

0 commit comments

Comments
 (0)