mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -08:00
fix compiling issues on windows + update readme for contributors, they do not need rust nightly anymore
This commit is contained in:
@@ -24,7 +24,8 @@ fn generate_shaders() -> std::result::Result<(), Box<dyn Error>> {
|
||||
//.with_extension("")
|
||||
.to_string_lossy()
|
||||
.to_owned()
|
||||
.replace("/", "_");
|
||||
.replace("/", "_")
|
||||
.replace("\\", "_");
|
||||
//let out_name = format!("{}/{}", OUT_PATH, out_file_name);
|
||||
|
||||
let src = read_shader(path)?;
|
||||
@@ -86,7 +87,7 @@ pub fn write(path: PathBuf, entries: HashMap<String, String>) -> Result<(), Box<
|
||||
for (name, content) in entries {
|
||||
writeln!(
|
||||
&mut all_the_files,
|
||||
r##" out.insert("{name}", r#"{content}"#);"##,
|
||||
r##" out.insert(r"{name}", r#"{content}"#);"##,
|
||||
)?;
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
import {JSONP_PROXY} from "@/js/Constants";
|
||||
import {JSONP_PROXY} from "./Constants";
|
||||
import { ALEvent } from './events/ALEvent';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user