Ver Fonte

Make idna and url share a Cargo worksace.

Simon Sapin há 9 anos atrás
pai
commit
191e11bca9
3 ficheiros alterados com 5 adições e 3 exclusões
  1. 1 3
      .travis.yml
  2. 3 0
      Cargo.toml
  3. 1 0
      Makefile

+ 1 - 3
.travis.yml

@@ -3,8 +3,6 @@ rust:
   - nightly
   - beta
   - stable
-script:
-  - make test
-  - cd idna && cargo test
+script: make test
 notifications:
   webhooks: http://build.servo.org:54856/travis

+ 3 - 0
Cargo.toml

@@ -11,6 +11,9 @@ readme = "README.md"
 keywords = ["url", "parser"]
 license = "MIT/Apache-2.0"
 
+[workspace]
+members = [".", "idna"]
+
 [[test]]
 name = "unit"
 

+ 1 - 0
Makefile

@@ -1,5 +1,6 @@
 test:
 	cargo test --features "query_encoding serde rustc-serialize"
 	[ x$$TRAVIS_RUST_VERSION != xnightly ] || cargo test --features heapsize
+	(cd idna && cargo test)
 
 .PHONY: test