From 4f55cc78b19365705c7e7b93b6919d995391e15c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 24 Feb 2021 20:22:23 +0100 Subject: Move constants to dedicated module Signed-off-by: Matthias Beyer --- src/consts.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/consts.rs (limited to 'src/consts.rs') diff --git a/src/consts.rs b/src/consts.rs new file mode 100644 index 0000000..8891f81 --- /dev/null +++ b/src/consts.rs @@ -0,0 +1,22 @@ +// +// Copyright (c) 2020-2021 science+computing ag and other contributors +// +// This program and the accompanying materials are made +// available under the terms of the Eclipse Public License 2.0 +// which is available at https://www.eclipse.org/legal/epl-2.0/ +// +// SPDX-License-Identifier: EPL-2.0 +// + + +/// The path to the directory inside the container where the inputs for the script run are copied +/// to. +pub const INPUTS_DIR_PATH: &str = "/inputs"; + +/// The path to the directory inside the container where the outputs of a compile job must be +/// located after the script was run +pub const OUTPUTS_DIR_PATH: &str = "/outputs"; + +/// The path where the script that is executed inside the container is copied to. +pub const SCRIPT_PATH: &str = "/script"; + -- cgit v1.2.3