mirror of
https://github.com/lise-henry/crowbook
synced 2024-05-27 00:36:14 +02:00
Revert appeyor.yml and Cargo.toml to a version that should build on windows (without syntect)
This commit is contained in:
parent
96e4a13942
commit
91b2379f10
|
@ -52,6 +52,7 @@ lazy_static = "0.2.1"
|
|||
term = "0.4"
|
||||
crowbook-intl-runtime = "0.1"
|
||||
numerals = "0.1"
|
||||
epub-builder = "^0.2.0"
|
||||
caribon = { version = "0.8", optional = true }
|
||||
clap = { version = "2.19", optional = true }
|
||||
url = { version = "1", optional = true }
|
||||
|
@ -61,8 +62,3 @@ syntect = { version = "1", optional = true }
|
|||
version = "0.10"
|
||||
optional = true
|
||||
default-features = false
|
||||
|
||||
[dependencies.epub-builder]
|
||||
version = "^0.2.0"
|
||||
default-features = false
|
||||
features = ["zip-command"]
|
||||
|
|
11
appveyor.yml
11
appveyor.yml
|
@ -1,5 +1,3 @@
|
|||
os: Visual Studio 2015
|
||||
|
||||
environment:
|
||||
global:
|
||||
# This will be used as part of the zipfile name
|
||||
|
@ -20,7 +18,6 @@ environment:
|
|||
# (Shamelessly stolen from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
|
||||
install:
|
||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe"
|
||||
- set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
|
||||
- rust-%RUST_VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
||||
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
|
||||
|
@ -33,10 +30,10 @@ build: false
|
|||
# Equivalent to Travis' `script` phase
|
||||
# TODO modify this phase as you see fit
|
||||
test_script:
|
||||
- cargo build --verbose --features "syntect/static-onig" #--no-default-features --features="clap proofread" --verbose
|
||||
- cargo run --features "syntect/static-onig" # --no-default-features --features="clap proofread"
|
||||
- cargo test --features "syntect/static-onig" # --no-default-features --features="clap proofread"
|
||||
- cargo build --release --features "syntect/static-onig" # --no-default-features --features="clap proofread"
|
||||
- cargo build --no-default-features --features="clap proofread" --verbose
|
||||
- cargo run --no-default-features --features="clap proofread"
|
||||
- cargo test --no-default-features --features="clap proofread"
|
||||
- cargo build --release --no-default-features --features="clap proofread"
|
||||
|
||||
# Equivalent to `before_deploy` phase
|
||||
after_test:
|
||||
|
|
Loading…
Reference in New Issue