Skip to content
Permalink
Browse files

add release build with optimized binary

  • Loading branch information
rvantonder committed Apr 26, 2019
1 parent 2df4059 commit c96050b984075afcf5b2b2a02779b3ac042b3a1a
Showing with 8 additions and 2 deletions.
  1. +4 −1 Makefile
  2. +4 −1 dune
@@ -1,7 +1,10 @@
all: build comby comby-server

build:
@dune build
@dune build --profile dev

release:
@dune build --profile release

comby comby-server:
@ln -s _build/install/default/bin/$@ ./$@
5 dune
@@ -1,3 +1,6 @@
(env
(dev
(flags (:standard -w A-3-4-32-34-39-40-41-42-44-45-48-49-50-57))))
(flags (:standard -w A-3-4-32-34-39-40-41-42-44-45-48-49-50-57)))
(release
(flags (:standard -w A-3-4-32-34-39-40-41-42-44-45-48-49-50-57))
(ocamlopt_flags (-O3))))

0 comments on commit c96050b

Please sign in to comment.
You can’t perform that action at this time.