From 57dbc0368fc9dd971a7410aa666d93739ee0d9c6 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Tue, 30 Sep 2014 22:27:46 -0400 Subject: [PATCH] Why not have some Travis action --- .travis.yml | 2 ++ Makefile | 18 +++++------------- todo.cfg | 3 +-- xinitrc | 8 -------- 4 files changed, 8 insertions(+), 23 deletions(-) create mode 100644 .travis.yml delete mode 100644 xinitrc diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..544909e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,2 @@ +--- +language: c diff --git a/Makefile b/Makefile index 3e71321..c7b84cf 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,13 @@ -SOURCES := $(shell ls | egrep -v 'README|Makefile') +SOURCES := $(shell ls | grep -E -v 'README|Makefile') TARGETS := $(patsubst %,$(HOME)/.%,$(SOURCES)) - $(HOME)/.%: % - ln -sv $(PWD)/'$^' '$@' - - -all: $(TARGETS) $(HOME)/.janus/go + if [[ ! -e '$@' ]] ; then ln -sv '$(PWD)/$^' '$@' ; fi +.PHONY: all +all: $(TARGETS) +.PHONY: echo echo: @echo SOURCES=$(SOURCES) @echo TARGETS=$(TARGETS) - - -$(HOME)/.janus/go: - test -n "$$GOROOT" && ln -sv $$GOROOT/misc/vim ~/.janus/go ; true - - -.PHONY: all echo diff --git a/todo.cfg b/todo.cfg index 10c89fe..ca65303 100644 --- a/todo.cfg +++ b/todo.cfg @@ -1,8 +1,7 @@ # === EDIT FILE LOCATIONS BELOW === # Your todo.txt directory -#export TODO_DIR="/Users/gina/Documents/todo" -export TODO_DIR="$HOME/Dropbox/buchfam/todo" +export TODO_DIR="$HOME/Dropbox/dan/todo" # Your todo/done/report.txt locations export TODO_FILE="$TODO_DIR/todo.txt" diff --git a/xinitrc b/xinitrc deleted file mode 100644 index 04fde2f..0000000 --- a/xinitrc +++ /dev/null @@ -1,8 +0,0 @@ -test -f /etc/rc.conf && source /etc/rc.conf -setxkbmap ${KEYMAP-dvorak} - - -exec gnome-session - - -# vim:filetype=sh