Skip to content

Commit

Permalink
Build improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
SGrondin committed Sep 18, 2022
1 parent f893f71 commit 88cfd43
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cd quickjs && make && cd -
```sh
# Don't forget to update the version number in [strings.ml]

DUNE_PROFILE=release rm strings.mac && dune build src/cli/strings.exe && cp _build/default/src/cli/strings.exe strings.mac && strip strings.mac
rm -f strings.mac && dune clean && DUNE_PROFILE=release dune build src/cli/strings.exe && cp _build/default/src/cli/strings.exe strings.mac && chmod 755 strings.mac && strip strings.mac

./strings.mac ../group-income-simple/
```
Expand Down
2 changes: 1 addition & 1 deletion src/cli/dune
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
ppx_deriving_yojson
))
(modes exe)
(link_flags (:include link_flags.%{system}.dune))
(link_flags (:include link_flags.%{system}.%{profile}.dune))
)
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/cli/link_flags.macosx.release.dune
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
()
2 changes: 1 addition & 1 deletion src/cli/strings.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open! Core
open Lwt.Infix
open Lwt.Syntax

let version = "2.2.0"
let version = "2.1.0"

let header = sprintf "/* Generated by okTurtles/strings v%s */\n\n" version

Expand Down

0 comments on commit 88cfd43

Please sign in to comment.