2024-05-16 19:47:12 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
maturin build
|
|
|
|
|
2024-05-17 19:18:55 +00:00
|
|
|
# by commenting out the line in .gitignore, we can include the generated files in the git repository
|
|
|
|
comment-gitignore:
|
|
|
|
sed -i 's/^\(.*\)/# \1/' ../server/text_generation_server/pb/.gitignore
|
|
|
|
|
|
|
|
remove-comment-gitignore:
|
|
|
|
sed -i 's/^# \(.*\)/\1/' ../server/text_generation_server/pb/.gitignore
|
|
|
|
|
|
|
|
library-install:
|
2024-05-16 19:47:12 +00:00
|
|
|
pip install -e .
|
2024-05-17 19:18:55 +00:00
|
|
|
|
2024-05-18 02:35:55 +00:00
|
|
|
install: comment-gitignore build library-install remove-comment-gitignore
|
2024-05-18 01:22:25 +00:00
|
|
|
|
|
|
|
quick-install: build library-install
|