From a949e5a9ff482b6a2fe13ee160eacbe3fc395969 Mon Sep 17 00:00:00 2001 From: Keivan Ipchi Hagh Date: Tue, 19 Mar 2024 19:25:12 +0330 Subject: [PATCH] feat: update Makefile --- .github/workflows/python-package.yml | 10 +++------- Makefile | 4 ++++ 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 Makefile diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8043378..43ff693 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -32,10 +32,6 @@ jobs: python -m pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: ๐Ÿš€ Generate gRPC files - run: | - bash ./scripts/build.sh - - # - name: ๐Ÿงช Run tests - # run: | - # python -u -m unittest + - name: โš’๏ธ Build api-scheme + run: | + make build diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5236b8c --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +# Builds the api-scheme +build: + bash scripts/clean.sh + bash scripts/build.sh