Not updating to 0.181.0 for now, as that requires ocaml 4.14.0.
Edit: ocaml was updated to 4.14.0, so I've updated flow as well.
Git Clone URL: | https://aur.archlinux.org/flow.git (read-only, click to copy) |
---|---|
Package Base: | flow |
Description: | A static type checker for JavaScript |
Upstream URL: | https://flow.org |
Keywords: | checker facebook flow flowtype javascript static type |
Licenses: | MIT |
Submitter: | Gordin |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 14 |
Popularity: | 0.000000 |
First Submitted: | 2014-11-19 15:18 (UTC) |
Last Updated: | 2024-11-15 09:18 (UTC) |
Not updating to 0.181.0 for now, as that requires ocaml 4.14.0.
Edit: ocaml was updated to 4.14.0, so I've updated flow as well.
Fixed.
Huh, getting some errors while building. Looking into it, you can use flow-bin for now.
File "src/stubs/flowEventLogger.ml", line 116, characters 41-42:
116 | let ephemeral_command_success ?json_data:_ ~client_context:_ ~profiling:_ = ()
^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
File "src/stubs/flowEventLogger.ml", line 118, characters 41-42:
118 | let ephemeral_command_failure ?json_data:_ ~client_context:_ = ()
^
Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased.
@JKAbrams: That looks like it could be caused one of the packages mentioned (ocaml-sexplib and ocaml-parsexp) being built with an older version of ocaml. I've bumped all my ocaml packages because of the ocaml 4.12.0 update being released anyway, so that should hopefully fix it. If that doesn't work, you can try uninstalling and reinstalling all your ocaml packages. Or you can use the flow-bin package.
Getting a build error since the latest version update (Version: 0.155.1-1):
File "_none_", line 1:
Error: Files /usr/lib/ocaml/sexplib/sexplib.cmxa
and /usr/lib/ocaml/parsexp/parsexp.cmxa
make inconsistent assumptions over implementation Parsexp
Command exited with code 2.
Compilation unsuccessful after building 1685 targets (0 cached) in 00:08:05.
make: *** [Makefile:362: build-flow] Error 10
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/flow
@TheGoliath I haven't had much time to work on this recently, but IIRC the last remaining dependency I was having problems with was ocaml-sedlex, so when I get that fixed, it should hopefully work.
Pinned Comments
dpeukert commented on 2020-07-06 17:29 (UTC) (edited on 2020-09-26 17:55 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/flow