Skip to content

Commit e814640

Browse files
committed
Don't build the website in windows, mlx isn't supported
1 parent 538500c commit e814640

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

website/dune

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
(library
22
(name app)
33
(modes melange)
4+
(enabled_if
5+
(<> %{os_type} "Win32"))
46
(modules :standard \ Website)
57
(libraries reason-react melange.dom melange.js melange-json melange-webapi)
68
(preprocess
@@ -9,6 +11,8 @@
911
(melange.emit
1012
(target website)
1113
(modules Website)
14+
(enabled_if
15+
(<> %{os_type} "Win32"))
1216
(module_systems
1317
(es6 re.js))
1418
(libraries reason-react app)
@@ -17,23 +21,19 @@
1721

1822
(install
1923
(section bin)
24+
(enabled_if
25+
(<> %{os_type} "Win32"))
2026
(package query-json-playground)
2127
(files
2228
("../node_modules/@tailwindcss/cli/dist/index.mjs" as tailwind)))
2329

2430
(rule
2531
(target output.css)
32+
(enabled_if
33+
(<> %{os_type} "Win32"))
2634
(deps
2735
(source_tree .)
2836
(:config ./tailwind.config.js)
2937
(:input ./styles.css))
3038
(action
31-
(run
32-
node
33-
../node_modules/@tailwindcss/cli/dist/index.mjs
34-
-c
35-
%{config}
36-
-i
37-
%{input}
38-
-o
39-
%{target})))
39+
(run tailwind -c %{config} -i %{input} -o %{target})))

0 commit comments

Comments
 (0)