You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2021/07/30 06:14:05 UTC

[incubator-nlpcraft] branch master updated: Scripts fixes.

This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/master by this push:
     new c1a3f78  Scripts fixes.
     new f862991  Merge remote-tracking branch 'origin/master'
c1a3f78 is described below

commit c1a3f78beb5e57c6cf8e55de3fddce4edbb4189a
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Fri Jul 30 09:13:37 2021 +0300

    Scripts fixes.
---
 bin/prepare.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/prepare.sh b/bin/prepare.sh
index e6484ad..a498f9d 100755
--- a/bin/prepare.sh
+++ b/bin/prepare.sh
@@ -84,7 +84,11 @@ function cpSrc() {
   rsync -avzq "$1"/src ${zipDir}/${tmpDir}/"$1" --exclude '**/.DS_Store' --exclude '**/*.iml'
 }
 
-cpSrc ${coreModule}
+function cpSrcExtraExclude() {
+  rsync -avzq "$1"/src ${zipDir}/${tmpDir}/"$1" --exclude '**/.DS_Store' --exclude '**/*.iml' --exclude "$2"
+}
+
+cpSrcExtraExclude ${coreModule} "main/python/ctxword/data/"
 cpSrc ${stanfordModule}
 cpSrc ${exampleAlarm}
 cpSrc ${exampleEcho}