Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (79 sloc) 2.2 KB
#
# macros
#
[macros.clone]
deps = ["git"]
prefix = ["git", "clone"]
[macros.install]
prefix = ["sudo", "dnf", "install", "-y"]
[macros.go-get]
deps = ["golang"]
prefix = ["go", "get"]
[macros.npm-install]
deps = ["node"]
prefix = ["sudo", "npm", "install", "-g"]
#
# development
#
[tasks.dev]
deps = ["git", "vim", "node", "python", "golang"]
cmds = [[
"@install",
"make",
"automake",
"gcc",
"gcc-c++",
"cmake",
"ack",
"ncurses-compat-libs",
]]
[tasks.git]
cmds = [["@install", "git"]]
links = [[".gitconfig"]]
[tasks.golang]
envs = [["GOPATH", "${HM_DEST}/projects/go"]]
cmds = [["mkdir", "-p", "$GOPATH"], ["@install", "golang"]]
[tasks.node]
cmds = [["@install", "nodejs", "npm"]]
[tasks.python]
cmds = [["@install", "python-devel", "python-pip"]]
[tasks.vim]
deps = ["vimrc"]
cmds = [["@install", "vim-X11", "vim-enhanced"]]
[tasks.vimrc]
rejects = [["test", "-d", ".config/vim"]]
cmds = [["@clone", "https://FooSoft@github.com/FooSoft/dotvim.git", ".config/vim"]]
links = [
[".vim", "$HM_DEST/.config/vim/.vim"],
[".vimrc", "$HM_DEST/.config/vim/.vimrc"],
[".eslintrc.json"],
]
#
# general
#
[tasks.fusion]
cmds = [["/home/alex/projects/dotfiles/bin/fusion.sh"]]
[tasks.virtualbox]
cmds = [["@install", "VirtualBox"]]
[tasks.nvidia]
deps = ["fusion"]
cmds = [["@install", "akmod-nvidia"]]
[tasks.vlc]
deps = ["fusion"]
cmds = [["@install", "vlc"]]
[tasks.dropbox]
deps = ["fusion"]
cmds = [["@install", "dropbox"]]
[tasks.fish]
rejects = [["which", "fish"]]
cmds = [["@install", "fish"], ["chsh", "-s", "/usr/bin/fish"]]
links = [[".config/fish/config.fish"]]
[tasks.common-term]
cmds = [["@install", "inotify-tools", "openssh-server", "htop", "p7zip", "tmux", "traceroute", "tree", "whois", "rsync", "lftp", "restic", "s3cmd", "sshuttle"]]
links = [["bin"]]
[tasks.ibus]
cmds = [["@install", "ibus", "ibus-anthy", "ibus-qt"]]
[tasks.default]
deps = ["fusion", "common-term", "ibus", "vlc", "dropbox", "dev"]
cmds = [["@install", "gimp", "keepassxc"]]
links = [[".profile"]]