X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tools%2Frelease%2Ftinyos.files;h=7f562471f77328e1b335a182ff0a4dcfa187d4af;hp=dc093b24734c0a81886cf68900eb21ac0f606a5c;hb=788537fe28c47e92ce684994f88f85b41f92f798;hpb=82ff984239b5b5088c952b684a5ab0f8112b8074 diff --git a/tools/release/tinyos.files b/tools/release/tinyos.files index dc093b24..7f562471 100644 --- a/tools/release/tinyos.files +++ b/tools/release/tinyos.files @@ -1,9 +1,9 @@ -NAME=tinyos -VERSION=2.1.0 +NAME="$1" +VERSION="$2" +OUTPUT_FILE="$3" -cd ../.. -rm -rf $NAME-$VERSION -tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz +pushd ../../ +./tools/release/extractor $NAME-$VERSION $OUTPUT_FILE <<'EOF' !^./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) @@ -45,4 +45,4 @@ tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz ./tests/TestSerial/TestSerial.class ./RadioCountToLeds/RadioCountMsg.class EOF -rm -rf $NAME-$VERSION +popd