Remove last vestiges of stylus support

This commit is contained in:
Matt Ickstadt 2018-03-05 14:50:38 -06:00
parent 97fe5a2a92
commit 8f9da4f75c
3 changed files with 1 additions and 11 deletions

View File

@ -10,7 +10,6 @@ license = "MPL-2.0"
readme = "README.md" readme = "README.md"
exclude = [ exclude = [
"book-example/*", "book-example/*",
"src/theme/stylus/**",
] ]
[package.metadata.release] [package.metadata.release]
@ -63,7 +62,6 @@ pulldown-cmark-to-cmark = "1.1.0"
default = ["output", "watch", "serve", "search"] default = ["output", "watch", "serve", "search"]
debug = [] debug = []
output = [] output = []
regenerate-css = []
watch = ["notify", "time", "crossbeam"] watch = ["notify", "time", "crossbeam"]
serve = ["iron", "staticfile", "ws"] serve = ["iron", "staticfile", "ws"]
search = ["elasticlunr-rs", "ammonia"] search = ["elasticlunr-rs", "ammonia"]

View File

@ -32,17 +32,12 @@ install:
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv - rustc -Vv
- cargo -V - cargo -V
- ps: Install-Product node $env:nodejs_version
- node --version
- npm --version
- npm install -g stylus nib
build: false build: false
# Equivalent to Travis' `script` phase # Equivalent to Travis' `script` phase
test_script: test_script:
- cargo build --verbose - cargo build --verbose
- cargo build --verbose --features=regenerate-css
- cargo test --verbose - cargo test --verbose
before_deploy: before_deploy:

View File

@ -11,9 +11,6 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] ||
exit 0 exit 0
fi fi
# Make sure we have the css dependencies
npm install -g stylus nib
NC='\033[39m' NC='\033[39m'
CYAN='\033[36m' CYAN='\033[36m'
GREEN='\033[32m' GREEN='\033[32m'
@ -21,7 +18,7 @@ GREEN='\033[32m'
rev=$(git rev-parse --short HEAD) rev=$(git rev-parse --short HEAD)
echo -e "${CYAN}Running cargo doc${NC}" echo -e "${CYAN}Running cargo doc${NC}"
cargo doc --features regenerate-css > /dev/null cargo doc > /dev/null
echo -e "${CYAN}Running mdbook build${NC}" echo -e "${CYAN}Running mdbook build${NC}"
cargo run -- build book-example/ cargo run -- build book-example/