From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 456707F71A for ; Sat, 12 Apr 2014 14:38:42 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=pra; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of daniel.buenzli@erratique.ch) identity=mailfrom; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="daniel.buenzli@erratique.ch"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp.webfaction.com) identity=helo; client-ip=74.55.86.74; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="daniel.buenzli@erratique.ch"; x-sender="postmaster@smtp.webfaction.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUPAKgzSVNKN1ZKlGdsb2JhbABZhgeBIcAZgTAOAQEBAQcLCwkSKoIlAQEBAwEjVgULCxoCJgICRxAGG4dsCASofqJQF4EpjRIzB4JvNYEUAQOfHhePIg X-IPAS-Result: AuUPAKgzSVNKN1ZKlGdsb2JhbABZhgeBIcAZgTAOAQEBAQcLCwkSKoIlAQEBAwEjVgULCxoCJgICRxAGG4dsCASofqJQF4EpjRIzB4JvNYEUAQOfHhePIg X-IronPort-AV: E=Sophos;i="4.97,848,1389740400"; d="scan'208";a="67858431" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail2-smtp-roc.national.inria.fr with ESMTP; 12 Apr 2014 14:38:17 +0200 Received: from [172.20.10.2] (210-236.197-178.cust.bluewin.ch [178.197.236.210]) by smtp.webfaction.com (Postfix) with ESMTP id ED7D720BFB56; Sat, 12 Apr 2014 12:38:14 +0000 (UTC) Date: Sat, 12 Apr 2014 14:38:11 +0200 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Adrien Nader Cc: David Allsopp , "=?utf-8?Q?caml-list=40inria.fr?=" Message-ID: <74C2E1F54AA349E6899E909804979B72@erratique.ch> In-Reply-To: <20140412114145.GA18285@notk.org> References: <53c5ec5fa458ca0ae78f13ff79d9abf5@in.tum.de> <9636C678CAA541CCB505CE8771722A68@erratique.ch> <063FC564F6B44EA5AB1CF1D5589996D0@erratique.ch> <20140412073949.GA31995@notk.org> <20140412074401.GA803@notk.org> <20140412114145.GA18285@notk.org> X-Mailer: sparrow 1.6.4 (build 1178) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [Caml-list] OCaml script on windows (was Re: [ANN] React 1.0.0) Le samedi, 12 avril 2014 =C3=A0 13:41, Adrien Nader a =C3=A9crit : > In a few words, today you can expect a posix shell but this isn't very > future-proof. However I'd probably not change much the current build > system: process management in OCaml is more work than in shell and a > arewrite would take time for little benefit, all while the environment > is evolving rapidly. Future-proof is what interests me. In my case the package build script need= s a single ocamlbuild invocation and write one (.install) file so that woul= dn't be atrocious to manage, there's no cp, mv, install etc, I leave that t= o my friend opam-installer. Actually I'm interested in rewriting these scri= pt in .ml for readability, abstraction and maybe having a more readable com= mand line interface through a handful of combinators and the Arg module. So= if these things become ml scripts the cross platform way of invoking them = would then just become:=20=20 ocaml pkg/build rather than just pkg/build that would take care of the fact that windows wouldn't understand #!/usr/bi= n/env ocaml ? Daniel P.S. Is there any tutorial/instructions that shows us how ocaml development= occurs/should be done on windows ? Packager instructions about dos and don= 'ts would be helpful too.=20=20