From 07fe4e03d0411d077873109c0870454e764a38e2 Mon Sep 17 00:00:00 2001 From: Eyal Lotem Date: Tue, 25 Sep 2018 19:10:31 +0300 Subject: [PATCH] Windows support --- nodejs-exec.cabal | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nodejs-exec.cabal b/nodejs-exec.cabal index 848eb4c..5c1a851 100644 --- a/nodejs-exec.cabal +++ b/nodejs-exec.cabal @@ -11,12 +11,12 @@ maintainer: yairchu@gmail.com copyright: 2016 Yair category: Foreign build-type: Custom -cabal-version: >=1.8 -if os(windows) - data-files: bin/node.exe -else - data-files: bin/node - +cabal-version: >=1.10 +-- Unfortunately conditional data files are unsupported, but we can +-- list all options and get a few harmless warnings :-( +data-files: + bin/node.exe + bin/node custom-setup setup-depends: base, Cabal, directory, filepath