commit | 9acf88bdff57b89e105ba0a609cc33d8692b8b15 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Fri Aug 21 17:06:22 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Tue Aug 25 10:58:24 2015 +0200 |
tree | 9cbcf6009dd1398bba831f277da2b52587fa7938 | |
parent | 5719aa121c6c13dee621f2a84fd64a214c8edaf5 [diff] |
Ship license files with the yotta module
diff --git a/yotta/create-module.sh b/yotta/create-module.sh index 1386c07..4c79ebe 100755 --- a/yotta/create-module.sh +++ b/yotta/create-module.sh
@@ -37,6 +37,9 @@ 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