You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
- Add set & get example - Use bash script to test doc tests - Add package.json to doctests - Add search-quickstart
15 lines
240 B
Bash
Executable File
15 lines
240 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
basepath=`readlink -f $1`
|
|
if [ $? -ne 0 ]; then
|
|
basepath=`readlink -f $(dirname $0)`
|
|
fi
|
|
echo "No path specified, using ${basepath}"
|
|
|
|
set -e
|
|
cd ${basepath}
|
|
for i in `ls ${basepath}/*.js`; do
|
|
redis-cli flushdb
|
|
node $i
|
|
done |