Compare commits

...

1 commit

Author SHA1 Message Date
Josh Holmer
0a4f28de76 Add crt-static to rustflags to remove need for VC++ runtime for Windows
users
2017-09-11 19:53:35 -04:00
2 changed files with 6 additions and 5 deletions

View file

@ -12,7 +12,6 @@ interface or as a library in other Rust programs.
## Installing ## Installing
Oxipng can be downloaded from the [Releases](https://github.com/shssoichiro/oxipng/releases) link on the GitHub page. Oxipng can be downloaded from the [Releases](https://github.com/shssoichiro/oxipng/releases) link on the GitHub page.
Windows users will need to ensure they have the [Visual C++ 2015 Runtime](https://www.microsoft.com/en-us/download/details.aspx?id=48145) installed.
Oxipng can also be installed from Cargo, via the following command: Oxipng can also be installed from Cargo, via the following command:
``` ```
@ -74,6 +73,7 @@ passing it, along with an input filename, into the
Oxipng began as a complete rewrite of the OptiPNG project, Oxipng began as a complete rewrite of the OptiPNG project,
which was assumed to be dead as no commit had been made to it since March 2014. which was assumed to be dead as no commit had been made to it since March 2014.
(OptiPNG has since released a new version, after Oxipng was first released.)
The name has been changed to avoid confusion and potential legal issues. The name has been changed to avoid confusion and potential legal issues.
The core goal of rewriting OptiPNG was to implement multithreading, The core goal of rewriting OptiPNG was to implement multithreading,

View file

@ -30,6 +30,7 @@ test_script:
before_deploy: before_deploy:
# Generate artifacts for release # Generate artifacts for release
- SET RUSTFLAGS=-C target-feature=+crt-static
- cargo build --release - cargo build --release
- mkdir staging - mkdir staging
- copy target\release\oxipng.exe staging - copy target\release\oxipng.exe staging
@ -54,8 +55,8 @@ deploy:
# channel to use to produce the release artifacts # channel to use to produce the release artifacts
# NOTE make sure you only release *once* per target # NOTE make sure you only release *once* per target
CHANNEL: stable CHANNEL: stable
appveyor_repo_tag: true # appveyor_repo_tag: true
branches: #branches:
only: # only:
- master # - master