File: test

package info (click to toggle)
node-rollup-plugin-babel 6.0.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,044 kB
  • sloc: javascript: 703; sh: 12; makefile: 7
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