git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix #1336 and #1334
d0d6fb2Oleg Grenrus
purescript.cabal+4−2
@@ -20,8 +20,10 @@ tested-with: GHC==7.8
20
20
21extra-source-files: examples/passing/*.purs
21extra-source-files: examples/passing/*.purs
22 , examples/failing/*.purs
22 , examples/failing/*.purs
23− , tests/support/flattened/*.purs
23+ , tests/support/setup.js
24− , tests/support/flattened/*.js
24+ , tests/support/package.json
25+ , tests/support/bower.json
26+ , psci/tests/data/Sample.purs
25
27
26source-repository head
28source-repository head
27 type: git
29 type: git
tests/Main.hs+3−1
@@ -242,7 +242,9 @@ fetchSupportCode :: IO ()
242fetchSupportCode = do
242fetchSupportCode = do
243 setCurrentDirectory "tests/support"
243 setCurrentDirectory "tests/support"
244 callProcess "npm" ["install"]
244 callProcess "npm" ["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
245− callProcess "bower" ["install"]
247+ callProcess "node_modules/.bin/bower" ["--allow-root", "install", "--config.interactive=false"]
246 callProcess "node" ["setup.js"]
248 callProcess "node" ["setup.js"]
247 setCurrentDirectory "../.."
249 setCurrentDirectory "../.."
248
250