[Pkg-javascript-commits] [node-buble] 01/02: Simplify d/rules

Julien Puydt julien.puydt at laposte.net
Sun Nov 5 07:01:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-buble.

commit 09e69131a5612bb79443b7ad88f666b196466fef
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun Nov 5 07:55:40 2017 +0100

    Simplify d/rules
---
 debian/rules | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/debian/rules b/debian/rules
index 28ad901..bd76f31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,10 @@
 #!/usr/bin/make -f
 
-SOURCES = $(shell find src/ -name "*.js")
-
-TARGETS = $(subst src, dist, $(SOURCES))
-
-COMPILE_MODULES = babeljs --presets=es2015
-
-.PHONY: dist
-
-%.js:
-	$(COMPILE_MODULES) $(subst dist, src, $@) > $@
-
 %:
 	dh $@
 
-override_dh_auto_build: dist $(TARGETS)
-
-dist:
-	mkdir -p dist/program/types/shared dist/utils
+override_dh_auto_build:
+	babeljs --presets=es2015 src/ -d dist
 
 override_dh_auto_clean:
 	rm -rf dist

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-buble.git



More information about the Pkg-javascript-commits mailing list