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