forked from holman/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.coffee
74 lines (71 loc) · 2.42 KB
/
Gruntfile.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
home = require 'home-dir'
module.exports = (grunt) ->
grunt.initConfig
config:
sublime:
path_app_support: home 'Library/Application Support/Sublime Text 3'
symlink:
options:
overwrite: true
dotfiles:
expand: true
src: '**/*.symlink'
dest: "#{ home() }/"
flatten: true
rename: (dest, src) ->
finalDest = dest + '.' + src.replace('.symlink','')
console.log "#{src} -> #{finalDest}"
return finalDest
sublime_user:
src: 'sublime-text/User'
dest: '<%= config.sublime.path_app_support %>/Packages/User'
shell:
theme_terminal:
command: 'open "osx/Smyck.terminal"'
# change_shell:
# command: 'chsh -s /bin/zsh'
# osx_defaults:
# command: 'source osx/settings.sh'
# sublime_package_control:
# command: 'echo "Installing Sublime Text Package Control" && mkdir -p "<%= config.sublime.path_app_support %>/Installed Packages" && curl -o "<%= config.sublime.path_app_support %>/Installed Packages/Package Control.sublime-package" https://sublime.wbond.net/Package%20Control.sublime-package'
# oh_my_zsh:
# command: 'echo "Installing Oh My Zsh" && git clone git://github.com/kmcginnes/oh-my-zsh.git ~/.oh-my-zsh'
brew:
archey: 'archey'
git: 'git'
# git_extras: 'git-extras'
nvm: 'nvm'
rbenv: 'rbenv'
ruby_build: 'ruby-build'
plenv: 'plenv'
perl_build: 'perl-build'
go: 'go'
ffmpeg: 'ffmpeg'
dos2unix: 'dos2unix'
cask: 'caskroom/cask/brew-cask'
# brew_tap:
# unofficial: 'caskroom/versions'
# fonts: 'caskroom/fonts'
# brew_cask_app:
# alfred: 'alfred'
# sublime_text_3: 'sublime-text3'
# chrome: 'google-chrome'
# github: 'github'
# hipchat: 'hipchat'
# onepassword: 'onepassword'
# evernote: 'evernote'
# the_unarchiver: 'the-unarchiver'
# vlc: 'vlc'
# vmware_fusion: 'vmware-fusion'
# dropbox: 'dropbox'
# flux: 'flux'
# gfxcardstatus: 'gfxcardstatus'
# brew_cask_font:
# courier_new: 'font-courier-new'
# inconsolata: 'font-inconsolata'
# noto_sans: 'font-noto-sans'
# source_code_pro: 'font-source-code-pro'
grunt.loadTasks 'tasks'
grunt.loadNpmTasks 'grunt-shell'
grunt.registerTask 'update', ['symlink']
grunt.registerTask 'default', ['symlink','shell','brew']