Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccaa1ac
commit 2d5f653
Showing
4 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
BASE=$(shell pwd) | ||
SCRIPTS=$(BASE)/scripts | ||
|
||
update: | ||
sh "$(SCRIPTS)/update.sh" $(BASE) $(APIFLOW) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
# Paw-SwaggerGenerator | ||
# Paw-SwaggerGenerator | ||
An empty repository to host the build of the Swagger Generator produced by [API-Flow](https://github.com/luckymarmot/API-Flow). | ||
|
||
## Setup | ||
to update the repository to the latest version, use the following scripts | ||
|
||
```sh | ||
export APIFLOW='path-to-api-flow' # replace this with your path to API-Flow | ||
make update APIFLOW="$APIFLOW" | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
base=$1 | ||
apiflow=$2 | ||
|
||
git describe --abbrev=0 --tags | ||
|
||
rm -rf ./releases | ||
mkdir -p ./releases | ||
|
||
cd $apiflow | ||
make pack TARGET="swagger" | ||
cd $base | ||
|
||
cp $apiflow/releases/paw/generators/Swagger* ./releases/ |