branch develop updated (4a9f1b6 -> 62a95d6)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository mum. See http://git.chorem.org/mum.git from 4a9f1b6 - add auto installation of bower and javascript lib if necessary new 62a95d6 add rule to create bower_component during debian package creation The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 62a95d6e8b8f95a1daf7a1270cc994ad4358e11c Author: Benjamin POUSSIN <poussin@codelutin.com> Date: Fri Jul 10 17:36:33 2015 +0200 add rule to create bower_component during debian package creation Summary of changes: debian/control | 2 +- debian/rules | 26 ++++++++++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit 62a95d6e8b8f95a1daf7a1270cc994ad4358e11c Author: Benjamin POUSSIN <poussin@codelutin.com> Date: Fri Jul 10 17:36:33 2015 +0200 add rule to create bower_component during debian package creation --- debian/control | 2 +- debian/rules | 26 ++++++++++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/debian/control b/debian/control index f52877f..8517190 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: mum Section: utils Priority: optional Maintainer: Alexis Guilbaud <aguilbaud@codelutin.com> -Build-Depends: debhelper (>= 8.0.0) +Build-Depends: debhelper (>= 8.0.0), npm Standards-Version: 3.9.3 Homepage: http://www.chorem.org/projects/mum/ #Vcs-Git: git://git.debian.org/collab-maint/mum.git diff --git a/debian/rules b/debian/rules index 8b156fe..02db10e 100755 --- a/debian/rules +++ b/debian/rules @@ -36,19 +36,27 @@ build : build-stamp build-stamp: dh_testdir touch build_stamp - + clean : dh_testdir dh_testroot rm -f build-stamp dh_clean - -install : build clean $(app) $(bower_components) $(static) $(views) $(scripts) $(mum_conf) $(mum_sudoers) $(readme) $(requirements) $(license) + +$(DEST_APP)/bower_components: + mkdir -p $(DEST_APP) + cd $(DEST_APP) + npm install bower + node_modules/bower/bin/bower install $(CURDIR)/bower.json + rm -rf $(DEST_APP)/node_modules + rm -rf $(DEST_APP)/bower_components/jquery + +install : build clean $(app) $(DEST_APP)/bower_components $(static) $(views) $(scripts) $(mum_conf) $(mum_sudoers) $(readme) $(requirements) $(license) dh_testdir dh_testroot dh_clean -k dh_installdirs - + mkdir -p $(DEST_APP) mkdir -p $(DEST_CONF)/mum mkdir -p $(DEST_CONF)/sudoers.d @@ -57,9 +65,8 @@ install : build clean $(app) $(bower_components) $(static) $(views) $(scripts) $ mkdir -p $(DEST_BIN) mkdir -p $(DEST_DOC) mkdir -p $(DEST_LOGS) - + cp -R $(app) $(DEST_APP) - cp -R $(bower_components) $(DEST_APP) cp -R $(static) $(DEST_APP) cp -R $(views) $(DEST_APP) cp -R $(scripts) $(DEST_APP) @@ -69,10 +76,9 @@ install : build clean $(app) $(bower_components) $(static) $(views) $(scripts) $ cp $(license) $(DEST_DOC) cp $(requirements) $(DEST_APP) ln -sr $(DEST_APP)/scripts/mum.sh $(DEST_BIN) - + find $(DEST_APP)/app -type f -iname "*.pyc" -exec rm -f {} \; - rm -rf $(DEST_APP)/bower_components/jquery - + # Construire ici les fichiers non specifiques a une architecture . binary-indep : build install @@ -94,6 +100,6 @@ binary-arch : build install dh_gencontrol dh_md5sums dh_builddeb - + binary : binary-indep binary-arch . PHONY : build clean binary-indep binary-arch binary install configure -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm