Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit924e405

Browse files
committed
Fix build
1 parent28ddebe commit924e405

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

‎Makefile‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22
# ocamlbuild.
33
# Docs: https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc
44

5-
build:
6-
rebuild -use-ocamlfind src/index.native
5+
all: byte library
6+
7+
byte:
8+
rebuild -use-ocamlfind src/ReasonNativeProject.byte
9+
10+
library:
11+
rebuild -use-ocamlfind src/ReasonNativeProject.cma
12+
rebuild -use-ocamlfind src/ReasonNativeProject.cmxa
713

814
# some boilerplate to publish a new version to GitHub
915
release:
@@ -15,6 +21,6 @@ release:
1521
git push"git@github.com:reasonml/ReasonNativeProject.git" tag$(version)
1622

1723
clean:
18-
rm -rf _buildindex.native
24+
rm -rf _buildReasonNativeProject.byte
1925

2026
.PHONY: build release
File renamed without changes.

‎test-with-version.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ opam switch "${OCAML_VERSION}"
99
eval`opam config env`
1010
opam update
1111
opam pin add -y ReasonNativeProject.
12-
make
13-
./index.native
12+
make byte
13+
./ReasonNativeProject.byte
1414
git diff --exit-code

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp