Skip to content
This repository was archived by the owner on Jul 27, 2020. It is now read-only.

Commit b333ff6

Browse files
committed
fix makefile
1 parent 8ee9643 commit b333ff6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ before_script:
88
- git clone --depth 1 https://github.com/antirez/redis.git
99
- cd redis
1010
- make
11-
- pip install --user redis ramp-packer==1.2.3 rmtest
11+
- pip install --user redis ramp-packer rmtest
1212
- cd ..
1313
env:
1414
- REDIS_MODULE_PATH=$TRAVIS_BUILD_DIR/src/redis-ml.so REDIS_PATH=$TRAVIS_BUILD_DIR/redis/src/redis-server

src/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ CC=gcc
2525

2626
OBJS=rmalloc.o forest.o forest-type.o feature-vec.o reg.o regression-type.o matrix.o matrix-type.o kmeans.o kmeans-type.o util/logging.o util/thpool.o
2727

28+
MODULE_ARTIFACT=redis-ml.so
29+
2830
.PHONY: all
2931
all: redis-ml.so
3032

@@ -54,7 +56,4 @@ test:
5456
clean:
5557
rm -rf *.xo *.so *.o
5658

57-
package: redis-ml.so
58-
mkdir -p ../build
59-
module_packer -v -o "../build/redis-ml.{os}-{architecture}.latest.zip" "`pwd`/redis-ml.so"
60-
59+
include Makefile.package

0 commit comments

Comments
 (0)