Fix build product path to work on case sensitive and insensitive file systems (#116)

This commit is contained in:
Marina 2020-08-31 12:41:34 +02:00 committed by GitHub
parent d951a0906c
commit f25dd8c9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
install: install:
swift package update swift package update
swift build -c release swift build -c release
install .build/Release/SplashHTMLGen /usr/local/bin/SplashHTMLGen install .build/release/SplashHTMLGen /usr/local/bin/SplashHTMLGen
install .build/Release/SplashMarkdown /usr/local/bin/SplashMarkdown install .build/release/SplashMarkdown /usr/local/bin/SplashMarkdown
install .build/Release/SplashImageGen /usr/local/bin/SplashImageGen install .build/release/SplashImageGen /usr/local/bin/SplashImageGen
install .build/Release/SplashTokenizer /usr/local/bin/SplashTokenizer install .build/release/SplashTokenizer /usr/local/bin/SplashTokenizer

View File

@ -163,7 +163,7 @@ If you want to use Splash through one of its built-in command line tools, start
``` ```
$ git clone https://github.com/johnsundell/splash.git $ git clone https://github.com/johnsundell/splash.git
$ cd Splash $ cd splash
``` ```
To run a tool without installing it, you can use the Swift Package Manager's `run` command, like this: To run a tool without installing it, you can use the Swift Package Manager's `run` command, like this:
@ -191,7 +191,7 @@ If you only wish to install one of these, compile it and then move it to `/usr/l
``` ```
$ swift build -c release -Xswiftc -static-stdlib $ swift build -c release -Xswiftc -static-stdlib
$ install .build/Release/SplashHTMLGen /usr/local/bin/SplashHTMLGen $ install .build/release/SplashHTMLGen /usr/local/bin/SplashHTMLGen
``` ```
## Contributions and support ## Contributions and support