git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #1339 from phadej/issue-1336

Fix #1336 and #1334

commit64cad662261f38017e596959586f5b7f86e9d04e authorPhil Freeman <paf31@cantab.net> dateFri 7 Aug 2015, 17:51 (11 years ago) parent4b1652fd0d6fb2
2 files changed+7−3
purescript.cabal+4−2 tests/Main.hs+3−1
purescript.cabal+4−2
@@ -20,8 +20,10 @@ tested-with: GHC==7.8
2020
2121extra-source-files: examples/passing/*.purs
2222 , examples/failing/*.purs
23− , tests/support/flattened/*.purs
24− , tests/support/flattened/*.js
23+ , tests/support/setup.js
24+ , tests/support/package.json
25+ , tests/support/bower.json
26+ , psci/tests/data/Sample.purs
2527
2628source-repository head
2729 type: git
tests/Main.hs+3−1
@@ -242,7 +242,9 @@ fetchSupportCode :: IO ()
242242fetchSupportCode = do
243243 setCurrentDirectory "tests/support"
244244 callProcess "npm" ["install"]
245− callProcess "bower" ["install"]
245+ -- Sometimes we run as a root (e.g. in simple docker containers)
246+ -- And we are non-interactive: https://github.com/bower/bower/issues/1162
247+ callProcess "node_modules/.bin/bower" ["--allow-root", "install", "--config.interactive=false"]
246248 callProcess "node" ["setup.js"]
247249 setCurrentDirectory "../.."
248250