From 05ef5e7422097205912ffd677b79c21343426cbd Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 18 2013 04:33:33 +0000 Subject: Update prepare module's directory structure. - Remove bash_profile.conf file. The centos-art.sh script won't touch this file any more. - Rename vim.conf to vimrc in order to add render.conf file. The creation of symbolic links is now a responsibility of render module. The render module looks for .conf files and process them according to its content. --- diff --git a/Automation/Modules/Prepare/Configs/bash_profile.conf b/Automation/Modules/Prepare/Configs/bash_profile.conf deleted file mode 100755 index b7fbb7a..0000000 --- a/Automation/Modules/Prepare/Configs/bash_profile.conf +++ /dev/null @@ -1,20 +0,0 @@ -# .bash_profile - -# Get the aliases and functions -if [ -f ~/.bashrc ]; then - . ~/.bashrc -fi - -# User specific environment and startup programs - -PATH=$PATH:$HOME/bin -export PATH - -EDITOR=/usr/bin/vim -export EDITOR - -TCAR_WORKDIR= -export TCAR_WORKDIR - -TCAR_BRAND= -export TCAR_BRAND diff --git a/Automation/Modules/Prepare/Configs/render.conf b/Automation/Modules/Prepare/Configs/render.conf new file mode 100755 index 0000000..ddc0201 --- /dev/null +++ b/Automation/Modules/Prepare/Configs/render.conf @@ -0,0 +1,8 @@ +# +# This file contains the link information used by render module to +# connect vim's configuration. +# +[vimrc] +render-as = "symbolic-link" +source = "${HOME}/.vimrc" +comment = "Default vim's configuration inside the repository." diff --git a/Automation/Modules/Prepare/Configs/vim.conf b/Automation/Modules/Prepare/Configs/vim.conf deleted file mode 100755 index e54c201..0000000 --- a/Automation/Modules/Prepare/Configs/vim.conf +++ /dev/null @@ -1,9 +0,0 @@ -set nu -set textwidth=70 -set autoindent -set tabstop=4 -set softtabstop=4 -set shiftwidth=4 -set expandtab -set tags=./tags,tags -set spell diff --git a/Automation/Modules/Prepare/Configs/vimrc b/Automation/Modules/Prepare/Configs/vimrc new file mode 100755 index 0000000..e54c201 --- /dev/null +++ b/Automation/Modules/Prepare/Configs/vimrc @@ -0,0 +1,9 @@ +set nu +set textwidth=70 +set autoindent +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set expandtab +set tags=./tags,tags +set spell