File: test

package info (click to toggle)
node-rollup-plugin-babel 5.2.2%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 788 kB
  • sloc: javascript: 1,305; sh: 12; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e
mkdir -p node_modules
cp -a /usr/share/nodejs/@babel node_modules/
if [ -e dist ]; then
	echo "running test in build sources"
else
	cp -a /usr/share/nodejs/rollup-plugin-babel/dist .
	cp -a /usr/share/nodejs/rollup-plugin-babel/package.json .
fi
export HOME=`pwd`
#mocha
node -e 'require("rollup-plugin-babel")'
rm -rf node_modules