Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CB8910590 for ; Sun, 27 Apr 2014 16:15:41 +0000 (UTC) Received: (qmail 30915 invoked by uid 500); 27 Apr 2014 16:15:39 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 30836 invoked by uid 500); 27 Apr 2014 16:15:39 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 30828 invoked by uid 99); 27 Apr 2014 16:15:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Apr 2014 16:15:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 148D69934DA; Sun, 27 Apr 2014 16:15:39 +0000 (UTC) From: Steckelfisch To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-firefoxos pull request: CB-5816 FirefoxOS - add build scri... Content-Type: text/plain Message-Id: <20140427161539.148D69934DA@tyr.zones.apache.org> Date: Sun, 27 Apr 2014 16:15:39 +0000 (UTC) Github user Steckelfisch commented on a diff in the pull request: https://github.com/apache/cordova-firefoxos/pull/7#discussion_r12029795 --- Diff: bin/lib/create.js --- @@ -53,14 +54,24 @@ exports.createProject = function(project_path,package_name,project_name){ //copy template folder shjs.cp('-r', path.join(ROOT, 'bin', 'templates', 'project', 'www'), project_path); + + //copy check_reqs file ,creat bin/lib if it does not exist yet + if(!fs.existsSync(path.join(project_path,'cordova', 'lib'))) { --- End diff -- check --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---