web_ui and playground.js are always there.

This commit is contained in:
Patrick Thomson 2020-09-08 09:15:00 -04:00
parent 85cdf3dc49
commit 660fe86300

View file

@ -20,8 +20,6 @@ fn main() {
#[cfg(unix)]
fn required_files() -> Vec<&'static Path> {
return vec![
Path::new("../cli/src/web_ui.html"),
Path::new("../docs/assets/js/playground.js"),
Path::new("../lib/binding_web/tree-sitter.js"),
Path::new("../lib/binding_web/tree-sitter.wasm")
];
@ -30,8 +28,6 @@ fn required_files() -> Vec<&'static Path> {
#[cfg(windows)]
fn required_files() -> Vec<&'static Path> {
return vec![
Path::new("../cli/src/web_ui.html"),
Path::new("../docs/assets/js/playground.js"),
];
}