From ad18c69f28bb1d3a783f55090f65ac7d6f69538c Mon Sep 17 00:00:00 2001 From: JOLIMAITRE Matthieu Date: Sun, 20 Nov 2022 01:49:15 +0100 Subject: [PATCH] fixed empty unit bug --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/tasks.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe47473..4366547 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -138,7 +138,7 @@ checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "epitls-pi" -version = "1.4.0" +version = "1.4.1" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 8136546..136ea53 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epitls-pi" -version = "1.4.0" +version = "1.4.1" edition = "2021" license = "GPL-3.0+" description = "A little helper tool meant to ease the developpment of the C piscine at EPITA/Toulouse." diff --git a/src/tasks.rs b/src/tasks.rs index 759875a..3ab3fd1 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -42,9 +42,9 @@ impl CompileTask { } pub fn run(self) -> Result { - let proc_source = self.gen_source(); - let mut sources = self.files.clone(); - sources.push(proc_source); + // let proc_source = self.gen_source(); + let sources = self.files.clone(); + // sources.push(proc_source); self.compile(sources) }