Skip to content

Commit dfa0392

Browse files
how-to install linux enhancements (#35)
* add dummy linux-main * how-to install in linux - script
1 parent 6889a0c commit dfa0392

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Documentation.app/Contents/MacOS/Quick start.playground/Pages/Installation guide.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
| grep -oP '"tag_name": "\K(.*)(?=")' \
3030
| xargs -I {} wget -O - https://github.com/bow-swift/bow-openapi/archive/{}.tar.gz \
3131
| tar xz \
32-
&& cd bow-openapi-* \
33-
&& sudo make linux
32+
&& sudo make linux -C bow-openapi-*
3433
```
3534

3635
> It will install the last stable version.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ xcode: macos fixtures
2626
install:
2727
@rm -rf ./Tests/Fixtures/FixturesAPI
2828
@tar -xvf ./Tests/Fixtures/FixturesAPI.tar.gz -C ./Tests/Fixtures/
29-
@swift build --disable-sandbox --configuration release --build-path $(BUILD_PATH)/build
29+
@swift build --disable-sandbox --enable-test-discovery --configuration release --build-path $(BUILD_PATH)/build
3030
@install $(BUILD_PATH)/build/release/$(TOOL_NAME) $(PREFIX_BIN)/$(TOOL_NAME)
3131
@cp -R ./Templates $(RESOURCES_PATH)
3232
@cp ./Tests/Fixtures/petstore.yaml $(RESOURCES_PATH)

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ brew install bow-openapi
4848

4949
```bash
5050
curl -s https://api.github.com/repos/bow-swift/bow-openapi/releases/latest \
51-
| grep -oP '"tag_name": "\K(.*)(?=")' \
52-
| xargs -I {} wget -O - https://github.com/bow-swift/bow-openapi/archive/{}.tar.gz \
53-
| tar xz \
54-
&& cd bow-openapi-* \
55-
&& sudo make linux
51+
| grep -oP '"tag_name": "\K(.*)(?=")' \
52+
| xargs -I {} wget -O - https://github.com/bow-swift/bow-openapi/archive/{}.tar.gz \
53+
| tar xz \
54+
&& sudo make linux -C bow-openapi-*
5655
```
5756

5857
> It will install the last stable version.

0 commit comments

Comments
 (0)