Skip to content

Commit

Permalink
Fix scripts nightly feature
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Jan 10, 2024
1 parent e412272 commit caa85da
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions scripts/tools/cargo-dig.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env -S cargo +nightly -Zscript
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! SPDX-License-Identifier: Apache-2.0 OR ISC
//! ```cargo
//! [dependencies]
//! toml = "0.7.2"
//! clap = { version = "4.1.6", features = ["derive"] }
//! ```
```cargo
[dependencies]
toml = "0.8"
clap = { version = "4", features = ["derive"] }
```
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC

use clap::Parser;
use std::fs::read_to_string;
Expand Down
1 change: 0 additions & 1 deletion scripts/tools/copyright_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
#

set -e

Expand Down
17 changes: 9 additions & 8 deletions scripts/tools/semver.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/usr/bin/env -S cargo +nightly -Zscript
//! Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
//! SPDX-License-Identifier: Apache-2.0 OR ISC
//! ```cargo
//! [dependencies]
//! clap = { version = "4", features = ["derive"] }
//! regex = "1"
//! semver = "1"
//! ```
```cargo
[dependencies]
clap = { version = "4", features = ["derive"] }
regex = "1"
semver = "1"
```

// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC

use clap::{Parser, Subcommand};
use regex::Regex;
Expand Down

0 comments on commit caa85da

Please sign in to comment.