From 8d21dd335e5259dadf832a5d1a7c72b9dd1f4400 Mon Sep 17 00:00:00 2001
From: notgne2
Date: Tue, 29 Sep 2020 15:10:06 -0700
Subject: Add license information, reformat Nix files, clean up
---
src/activate.rs | 4 ++++
src/main.rs | 6 +++++-
src/utils/data.rs | 4 ++++
src/utils/deploy.rs | 4 ++++
src/utils/mod.rs | 4 ++++
src/utils/push.rs | 4 ++++
6 files changed, 25 insertions(+), 1 deletion(-)
(limited to 'src')
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
+//
+// 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
+//
+// 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 ")]
+#[clap(version = "1.0", author = "Serokell ")]
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
+//
+// 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
+//
+// 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
+//
+// 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
+//
+// SPDX-License-Identifier: MPL-2.0
+
use super::data;
use std::process::Stdio;
--
cgit v1.2.3