Skip to content

Commit d14ee2f

Browse files
chore: Add license header enforcement to all source files (#112)
* Initial plan * Add license header enforcement to xtask and mass-add headers to all source files Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com> * Fix test isolation for license header tests using unique temp directories Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mohamedmansour <68524+mohamedmansour@users.noreply.github.com>
1 parent 8cdfe4b commit d14ee2f

159 files changed

Lines changed: 799 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/copilot-instructions.md

Lines changed: 17 additions & 1 deletion

crates/webui-cli/src/commands/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
use anyhow::{Context, Result};
25
use clap::Args;
36
use expand_tilde::expand_tilde;

crates/webui-cli/src/commands/common.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
use clap::Args;
25
use std::path::PathBuf;
36
pub use webui::CssStrategy;

crates/webui-cli/src/commands/inspect.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
use anyhow::{Context, Result};
25
use clap::Args;
36
use expand_tilde::expand_tilde;

crates/webui-cli/src/commands/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
pub mod build;
25
pub mod common;
36
pub mod inspect;

crates/webui-cli/src/commands/serve.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer};
25
use anyhow::{Context, Result};
36
use clap::Args;

crates/webui-cli/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
mod commands;
25
mod utils;
36

crates/webui-cli/src/utils/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
pub mod output;

crates/webui-cli/src/utils/output.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
pub fn header(title: &str) {
25
eprintln!(
36
"\n {} {}\n",

crates/webui-discovery/src/cache.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT license.
3+
14
//! Component discovery cache for avoiding repeated filesystem traversal.
25
//!
36
//! Caches discovered component data at `~/.webui/cache/components/` and

0 commit comments

Comments
 (0)