aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornotgne22020-09-29 15:10:06 -0700
committernotgne22020-09-29 15:10:06 -0700
commit8d21dd335e5259dadf832a5d1a7c72b9dd1f4400 (patch)
treebc73e231777d5e0f7f2efa8e9a760a34e95950d1 /src
parente3c55575ca6bfd0c9166c52b4aac76b3761bb313 (diff)
Add license information, reformat Nix files, clean up
Diffstat (limited to '')
-rw-r--r--src/activate.rs4
-rw-r--r--src/main.rs6
-rw-r--r--src/utils/data.rs4
-rw-r--r--src/utils/deploy.rs4
-rw-r--r--src/utils/mod.rs4
-rw-r--r--src/utils/push.rs4
6 files changed, 25 insertions, 1 deletions
diff --git a/src/activate.rs b/src/activate.rs
index 8e22aea..3c7c16d 100644
--- a/src/activate.rs
+++ b/src/activate.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use clap::Clap;
use std::process::Stdio;
diff --git a/src/main.rs b/src/main.rs
index 668b697..9e50674 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use clap::Clap;
use std::process::Stdio;
@@ -17,7 +21,7 @@ mod utils;
/// Simple Rust rewrite of a simple Nix Flake deployment tool
#[derive(Clap, Debug)]
-#[clap(version = "1.0", author = "notgne2 <gen2@gen2.space>")]
+#[clap(version = "1.0", author = "Serokell <https://serokell.io/>")]
struct Opts {
/// The flake to deploy
#[clap(default_value = ".")]
diff --git a/src/utils/data.rs b/src/utils/data.rs
index 0753508..d1dae5b 100644
--- a/src/utils/data.rs
+++ b/src/utils/data.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use merge::Merge;
use std::collections::HashMap;
diff --git a/src/utils/deploy.rs b/src/utils/deploy.rs
index 42bd0b4..247d5e5 100644
--- a/src/utils/deploy.rs
+++ b/src/utils/deploy.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use super::data;
use tokio::process::Command;
diff --git a/src/utils/mod.rs b/src/utils/mod.rs
index 8861692..5802627 100644
--- a/src/utils/mod.rs
+++ b/src/utils/mod.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use std::borrow::Cow;
use std::path::PathBuf;
diff --git a/src/utils/push.rs b/src/utils/push.rs
index 0e1b9ba..c87c32b 100644
--- a/src/utils/push.rs
+++ b/src/utils/push.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
+//
+// SPDX-License-Identifier: MPL-2.0
+
use super::data;
use std::process::Stdio;