diff --git a/Cargo.toml b/Cargo.toml index dc58220c..b915202a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,6 @@ license = "MPL-2.0" readme = "README.md" exclude = [ "book-example/*", - "src/theme/stylus/**", ] [package.metadata.release] @@ -63,7 +62,6 @@ pulldown-cmark-to-cmark = "1.1.0" default = ["output", "watch", "serve", "search"] debug = [] output = [] -regenerate-css = [] watch = ["notify", "time", "crossbeam"] serve = ["iron", "staticfile", "ws"] search = ["elasticlunr-rs", "ammonia"] diff --git a/appveyor.yml b/appveyor.yml index 6ab52500..b5d070e7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -32,17 +32,12 @@ install: - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -Vv - cargo -V - - ps: Install-Product node $env:nodejs_version - - node --version - - npm --version - - npm install -g stylus nib build: false # Equivalent to Travis' `script` phase test_script: - cargo build --verbose - - cargo build --verbose --features=regenerate-css - cargo test --verbose before_deploy: diff --git a/ci/github_pages.sh b/ci/github_pages.sh index 040ab20a..ea8b95a3 100644 --- a/ci/github_pages.sh +++ b/ci/github_pages.sh @@ -11,9 +11,6 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ] || exit 0 fi -# Make sure we have the css dependencies -npm install -g stylus nib - NC='\033[39m' CYAN='\033[36m' GREEN='\033[32m' @@ -21,7 +18,7 @@ GREEN='\033[32m' rev=$(git rev-parse --short HEAD) 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}" cargo run -- build book-example/