Skip to content

Commit fad96f5

Browse files
authored
Add authors override to just file (#99)
1 parent df2db86 commit fad96f5

File tree

23 files changed

+32
-30
lines changed

23 files changed

+32
-30
lines changed

component-generated/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "component-generated"
33
version = "0.1.0"
44
edition = "2024"
55
description = "An example generated using the component template"
6-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
6+
authors = ["your name <author@example.com>"]
77
build = "build.rs"
88

99

component-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) 2024 your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

component/template/src/components/fps.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ use std::time::Instant;
22

33
use color_eyre::Result;
44
use ratatui::{
5+
Frame,
56
layout::{Constraint, Layout, Rect},
67
style::{Style, Stylize},
78
text::Span,
89
widgets::Paragraph,
9-
Frame,
1010
};
1111

1212
use super::Component;

event-driven-async-generated/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "event-driven-async-generated"
33
version = "0.1.0"
4-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
4+
authors = ["your name <author@example.com>"]
55
license = "MIT"
6-
edition = "2021"
6+
edition = "2024"
77

88
[dependencies]
99
crossterm = { version = "0.28.1", features = ["event-stream"] }

event-driven-async-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

event-driven-async-generated/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a [Ratatui] app generated by the [event driven async template].
77

88
## License
99

10-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
10+
Copyright (c) your name <author@example.com>
1111

1212
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
1313

event-driven-async-generated/src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::event::{AppEvent, Event, EventHandler};
22
use ratatui::{
3-
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
43
DefaultTerminal,
4+
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
55
};
66

77
/// Application.

event-driven-async/template/src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::event::{AppEvent, Event, EventHandler};
22
use ratatui::{
3-
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
43
DefaultTerminal,
4+
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
55
};
66

77
/// Application.

event-driven-generated/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "event-driven-generated"
33
version = "0.1.0"
4-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
4+
authors = ["your name <author@example.com>"]
55
license = "MIT"
6-
edition = "2021"
6+
edition = "2024"
77

88
[dependencies]
99
crossterm = "0.28.1"

event-driven-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

event-driven-generated/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a [Ratatui] app generated by the [event driven template].
77

88
## License
99

10-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
10+
Copyright (c) your name <author@example.com>
1111

1212
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
1313

event-driven-generated/src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::event::{AppEvent, Event, EventHandler};
22
use ratatui::{
3-
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
43
DefaultTerminal,
4+
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
55
};
66

77
/// Application.

event-driven/template/src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::event::{AppEvent, Event, EventHandler};
22
use ratatui::{
3-
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
43
DefaultTerminal,
4+
crossterm::event::{KeyCode, KeyEvent, KeyModifiers},
55
};
66

77
/// Application.

hello-world-generated/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "hello-world-generated"
33
version = "0.1.0"
4-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
4+
authors = ["your name <author@example.com>"]
55
license = "MIT"
66
edition = "2024"
77

hello-world-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

hello-world-generated/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a [Ratatui] app generated by the [Hello World template].
77

88
## License
99

10-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
10+
Copyright (c) your name <author@example.com>
1111

1212
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
1313

justfile

+8-6
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,35 @@ generate-all:
66
just generate-hello-world
77
just generate-simple
88
just generate-simple-async
9+
just generate-event-driven
10+
just generate-event-driven-async
911

1012
# The purpose of these targets is to make it easy to make changes to the templates and then
1113
# regenerate the generated projects and view the expected changes in a git diff.
1214

13-
generate-component:
15+
generate-component $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
1416
rm -rv component-generated
1517
cargo generate --path ./component \
1618
--name component-generated \
1719
--define project-description="An example generated using the component template" \
1820
--define use-gitserver=false
1921

20-
generate-hello-world:
22+
generate-hello-world $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
2123
rm -rv hello-world-generated
2224
cargo generate --path ./hello-world --name hello-world-generated
2325

24-
generate-simple:
26+
generate-simple $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
2527
rm -rv simple-generated
2628
cargo generate --path ./simple --name simple-generated
2729

28-
generate-simple-async:
30+
generate-simple-async $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
2931
rm -rv simple-async-generated
3032
cargo generate --path ./simple-async --name simple-async-generated
3133

32-
generate-event-driven:
34+
generate-event-driven $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
3335
rm -rv event-driven-generated
3436
cargo generate --path ./event-driven --name event-driven-generated
3537

36-
generate-event-driven-async:
38+
generate-event-driven-async $CARGO_NAME="your name" $CARGO_EMAIL="[email protected]":
3739
rm -rv event-driven-async-generated
3840
cargo generate --path ./event-driven-async --name event-driven-async-generated

simple-async-generated/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "simple-async-generated"
33
version = "0.1.0"
4-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
4+
authors = ["your name <author@example.com>"]
55
license = "MIT"
66
edition = "2024"
77

simple-async-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

simple-async-generated/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a [Ratatui] app generated by the [Simple async template].
77

88
## License
99

10-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
10+
Copyright (c) your name <author@example.com>
1111

1212
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
1313

simple-generated/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "simple-generated"
33
version = "0.1.0"
4-
authors = ["Orhun Parmaksız <orhunparmaksiz@gmail.com>"]
4+
authors = ["your name <author@example.com>"]
55
license = "MIT"
66
edition = "2024"
77

simple-generated/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
3+
Copyright (c) your name <author@example.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

simple-generated/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is a [Ratatui] app generated by the [Simple Template].
77

88
## License
99

10-
Copyright (c) Orhun Parmaksız <orhunparmaksiz@gmail.com>
10+
Copyright (c) your name <author@example.com>
1111

1212
This project is licensed under the MIT license ([LICENSE] or <http://opensource.org/licenses/MIT>)
1313

0 commit comments

Comments
 (0)