From d50ebb0c645d39c09a572f1a289132caa85e8037 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 25 Dec 2017 21:34:37 -0500 Subject: [PATCH] Remove output directories from the repository --- .gitignore | 15 +++++++-------- bin/.gitkeep | 1 - docs/.gitkeep | 1 - src/maid.cr | 6 +++--- src/theme.cr | 2 +- lib/theme.cr => src/theme_helper/theme_helper.cr | 0 {lib => src/trucolor}/trucolor.cr | 0 7 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 bin/.gitkeep delete mode 100644 docs/.gitkeep rename lib/theme.cr => src/theme_helper/theme_helper.cr (100%) rename {lib => src/trucolor}/trucolor.cr (100%) diff --git a/.gitignore b/.gitignore index a5b3c7ca..cdc08e03 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,11 @@ -# Ignore all files inside the bin/ directory except .gitkeep -bin/* -!bin/.gitkeep +# Ignore all files in the bin/ directory +bin/ -# Ignore all files inside the docs/ directory except .gitkeep -docs/* -!docs/.gitkeep +# Ignore all files in the docs/ directory +docs/ + +# Ignore all files in the lib/ directory +lib/ # Ignore all files made by shards .shards/ -lib/**/* -!lib/*.cr diff --git a/bin/.gitkeep b/bin/.gitkeep deleted file mode 100644 index 0b6905a8..00000000 --- a/bin/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -We use `.gitkeep` to keep track of directories that have no other files in them. diff --git a/docs/.gitkeep b/docs/.gitkeep deleted file mode 100644 index 0b6905a8..00000000 --- a/docs/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -We use `.gitkeep` to keep track of directories that have no other files in them. diff --git a/src/maid.cr b/src/maid.cr index 85b0ccfc..be2cd8ab 100644 --- a/src/maid.cr +++ b/src/maid.cr @@ -2,7 +2,7 @@ # # New Start: A modern Arch workflow built with an emphasis on functionality. # Copyright (C) 2017 Donovan Glover -# +# # Maid: Easily move dotfiles from one location to another # Copyright (C) 2017 Donovan Glover # @@ -31,7 +31,7 @@ # If so, add Maid.init() to create a base configuration require "file_utils" -require "trucolor" +require "./trucolor" module Maid @@ -150,7 +150,7 @@ module Maid exit 0 end - + def status() # For each file in upstream i = 0 diff --git a/src/theme.cr b/src/theme.cr index 3ebffdee..7d622b29 100644 --- a/src/theme.cr +++ b/src/theme.cr @@ -1,4 +1,4 @@ -require "theme" +require "./theme_helper" require "yaml" if ARGV.size > 0 diff --git a/lib/theme.cr b/src/theme_helper/theme_helper.cr similarity index 100% rename from lib/theme.cr rename to src/theme_helper/theme_helper.cr diff --git a/lib/trucolor.cr b/src/trucolor/trucolor.cr similarity index 100% rename from lib/trucolor.cr rename to src/trucolor/trucolor.cr