Commit 3b4b21fc authored by Bastien Roucariès's avatar Bastien Roucariès

Finalize new version

parent 2c2935fd
node-babel-preset-env (1.7.0-1) experimental; urgency=medium
* Run testsuite
* New upstream version
* Enable test suite
-- Bastien Roucariès <rouca@debian.org> Thu, 27 Sep 2018 12:13:31 +0200
node-babel-preset-env (1.6.0-1) unstable; urgency=low
* Initial release (Closes: #876264)
......
......@@ -6,9 +6,11 @@ Uploaders: Pirate Praveen <praveen@debian.org>
Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
, nodejs (>= 6)
, node-babel-cli
, node-babel-preset-es2015
, mocha (>= 4) <!nocheck>
, node-babel-register (>= 6.22) <!nocheck>
Standards-Version: 4.1.1
Homepage: https://github.com/babel/babel/tree/master/packages/babel-preset-env
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-babel-preset-env.git
......
......@@ -9,5 +9,5 @@ Index: node-babel-preset-env/.babelrc
+++ node-babel-preset-env/.babelrc
@@ -0,0 +1,3 @@
+{
+ "presets": ["es2015"]
+ "presets": ["es2015-loose"]
+}
00-babelrc.patch
# 00-babelrc.patch
......@@ -10,8 +10,21 @@
override_dh_auto_build:
babeljs src -d lib
#override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_test:
mkdir -p node_modules
ln -s .. node_modules/babel-preset-env
mocha ./test --compilers js:babel-register -t 10000
else
override_dh_auto_test:
@echo '**********************************************************'
@echo 'Skip test suite '
@echo '**********************************************************'
endif
override_dh_auto_clean:
rm -rf lib
rm -rf node_modules
dh_auto_clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment