From 9acf88bdff57b89e105ba0a609cc33d8692b8b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 21 Aug 2015 17:06:22 +0200 Subject: [PATCH] Ship license files with the yotta module --- yotta/create-module.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yotta/create-module.sh b/yotta/create-module.sh index 1386c0741..4c79ebe51 100755 --- a/yotta/create-module.sh +++ b/yotta/create-module.sh @@ -37,6 +37,9 @@ cp -r data/example-* $TMP/test cp data/module.json $TMP cp data/README.md $TMP +cp ../LICENSE $TMP +if [ -f ../apache-2.0.txt ]; then cp ../apache-2.0.txt $TMP; fi + mkdir -p $DEST rsync -cr --delete --exclude build --exclude yotta_\* $TMP/ $DEST/ rm -rf $TMP