Esempio n. 1
0
        public static void InitializePaths(VariableController variableController, FeatureContext featureContext)
        {
            // User
            var userDir = new UserDirectory().Get();
            var dir     = $"{userDir}{Path.DirectorySeparatorChar}{featureContext.FeatureInfo.Title}";

            Directory.CreateDirectory(dir);
            variableController.SetPath(Infrastructures.Constants.USER_DIR, dir);

            // Bin

            var binDir = new BinDirectory().Get();

            variableController.SetPath(Infrastructures.Constants.BIN_DIR, binDir);
        }