X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Frelease%2Ftinyos.files;h=13e723b1c9370ab5aa71170350944b84aaa6f0e3;hb=2465db08b2e0415d8aa98f8a7165d16fcd5e02e7;hp=a0e003df06140f333cd2fd396794bbb955ed377f;hpb=1cd2402e9cef3b66418ac2924dcd4fecd5fdf92c;p=tinyos-2.x.git diff --git a/tools/release/tinyos.files b/tools/release/tinyos.files index a0e003df..13e723b1 100644 --- a/tools/release/tinyos.files +++ b/tools/release/tinyos.files @@ -1,16 +1,22 @@ -NAME=tinyos -VERSION=2.0.1 +NAME="$1" +VERSION="$2" +OUTPUT_FILE="$3" -cd ../.. -rm -rf $NAME-$VERSION -tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz -!^./apps/tests/(eyesIFX|mica2|msp430|RadioStress|TestAlarm|TestAMOnOff|TestAMService|TestBroadcast|TestCollection|TestMultihopLqi|TestOscilloscopeLQI|TestPowerManager|TestPowerup|TestPrintf|TestRadioPM|TestScheduler|TestSerialBandwidth|TestSharedResource|TestSimTimers|TestSleep|TestTimerSync|TestTreeRouting|TestTrickleTimer) +pushd ../../ +./tools/release/extractor $NAME-$VERSION $OUTPUT_FILE <<'EOF' +!^./tinyos.sh +!^./tos.mk +!^./debian +!^./(patch|configure|build|install)-stamp +!^./apps/tests/(eyesIFX|mica2|msp430|rf230|mts300|telosb) +!^./apps/tests/(RadioStress|TestAlarm|TestAM|TestAMOnOff|TestAMService|TestBroadcast|TestCollection|TestLocalTime|TestMultihopLqi|TestOscilloscopeLQI|TestPowerManager|TestPowerup|TestPrintf|TestRadioPM|TestScheduler|TestSerialBandwidth|TestSharedResource|TestSimTimers|TestSleep|TestTimerSync|TestTreeRouting|TestTrickleTimer|TestTymo) !^/apps/(BlinkAlarm|BlinkMSP430|BlinkTask|BlinkToRadio|Test|TestADC|TestArbiter|TestCC2420|TestRadio|TestSPI|TestScheduler|TestSchedulerTemp|TestSerial) !^./doc !^./overall-todo.txt !^./support/make/Makelocal !^./support/make/btnode3.target !^./tests +!^./tools !^./tos/chips/Atmega128 !^./tos/chips/cc2420_pm !^./tos/chips/cc1000_pm @@ -18,11 +24,18 @@ tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz !^./tos/lib/ByteRadio !^./tos/lib/deluge !^./tos/lib/net/collection +!^./tos/lib/net/zigbee +!^./tos/lib/net/tymo !^./tos/lib/oski !^./tos/platforms/btnode3 !/.cvsignore !/CVS/ !/CVS$ +!/.svn/ +!/.svn$ +!^./.git +!^./.gitignore +!^./.gbp.conf !~$ !/build/ !/build$ @@ -37,6 +50,8 @@ tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz ./tests/cc2420/LplBroadcastCountToLeds/RadioCountMsg.class ./tests/cc2420/RssiToSerial/SpecAnalyzer.class ./tests/cc2420/RssiToSerial/RssiSerialMsg.class +./tests/TestSerial/TestSerialMsg.class +./tests/TestSerial/TestSerial.class ./RadioCountToLeds/RadioCountMsg.class EOF -rm -rf $NAME-$VERSION +popd