mirror of https://github.com/yewstack/yew
fix formatting and edition (why can't we use 2024..?)
This commit is contained in:
parent
ce8e35ae77
commit
8c8753c693
|
@ -3,7 +3,6 @@ on:
|
|||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'ci/**'
|
||||
- 'tools/build-examples/**'
|
||||
- 'examples/**'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "build-examples"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
|
|
@ -5,7 +5,6 @@ use std::process::ExitCode;
|
|||
use build_examples::{get_latest_wasm_opt_version, is_wasm_opt_outdated, NO_TRUNK_EXAMPLES};
|
||||
use regex::Regex;
|
||||
|
||||
|
||||
fn main() -> ExitCode {
|
||||
// Must be run from root of the repo
|
||||
let examples_dir = Path::new("examples");
|
||||
|
|
|
@ -2,7 +2,7 @@ use std::path::Path;
|
|||
use std::process::{Command, ExitCode};
|
||||
use std::{env, fs};
|
||||
|
||||
use build_examples::{NO_TRUNK_EXAMPLES, get_latest_wasm_opt_version, is_wasm_opt_outdated};
|
||||
use build_examples::{get_latest_wasm_opt_version, is_wasm_opt_outdated, NO_TRUNK_EXAMPLES};
|
||||
|
||||
fn main() -> ExitCode {
|
||||
// Must be run from root of the repo:
|
||||
|
|
Loading…
Reference in New Issue