File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11PROTOCCMD = protoc
22POETRY_PATH = $(shell which poetry)
33
4+ .PHONY : install_dev
45install_dev :
56 $(POETRY_PATH ) config virtualenvs.create false
67 $(POETRY_PATH ) lock
78 $(POETRY_PATH ) install --with=dev
89
10+ .PHONY : install
911install :
1012 $(POETRY_PATH ) lock
1113 $(POETRY_PATH ) install
@@ -17,8 +19,10 @@ src/stealthimfilestorage/proto/filestorage_pb2.py src/stealthimfilestorage/proto
1719 @sed -i ' s/import filestorage_pb2/from . import filestorage_pb2/g' ./src/stealthimfilestorage/proto/filestorage_grpc.py
1820 cp ./src/stealthimfilestorage/proto ./src/stimfstool/proto -r
1921
22+ .PHONY : proto
2023proto : src/stealthimfilestorage/proto/filestorage_pb2.py src/stealthimfilestorage/proto/filestorage_grpc.py
2124
25+ .PHONY : build
2226build : proto
2327 poetry build
2428
@@ -29,8 +33,10 @@ build: proto
2933 zstd ./bin/StealthIMFileStorage.docker -19
3034 @rm ./bin/StealthIMFileStorage.docker
3135
36+ .PHONY : build_docker
3237build_docker : ./bin/StealthIMFileStorage.docker.zst
3338
39+ .PHONY : clean
3440clean :
3541 @rm -rf ./src/stealthimfilestorage/proto
3642 @rm -rf ./bin
You can’t perform that action at this time.
0 commit comments