Add binaries

This commit is contained in:
Hactarus 2018-05-22 13:25:13 +00:00
parent 66b55e4ed5
commit c58bb04a54
3 changed files with 29 additions and 8 deletions

BIN
bin/homemaker.amd64 Executable file

Binary file not shown.

BIN
bin/homemaker.arm Executable file

Binary file not shown.

View file

@ -2,14 +2,22 @@
### Macros
###
[macros.install__ubuntu]
prefix = ["sudo", "apt-get", "install"]
prefix = ["sudo", "apt-get", "install"]
[macros.install__arch]
prefix = ["sudo", "pacman", "-S"]
prefix = ["sudo", "pacman", "-S"]
[macros.install__archlinux]
prefix = ["sudo", "pacman", "-S"]
[macros.clone]
deps = ["git"]
prefix = ["git", "clone"]
[macros.go-get]
deps = ["golang"]
prefix = ["go", "get"]
[macros.npm-install]
deps = ["node"]
prefix = ["npm", "install", "-u"]
###
### Tasks
@ -25,21 +33,34 @@
links = [[".zshrc", "config/tmux"]]
[tasks.git]
rejects = [["which", "git"]]
cmds = [["@install", "git"]]
templates = [[".gitconfig", "gitconfig"]]
[tasks.zsh]
rejects = [["which", "zsh"]]
cmds = [["@install", "zsh"],
["chsh", "-s", "/bin/zsh"],
["git" ,"clone", "--depth=1" ,"https://github.com/robbyrussell/oh-my-zsh.git", ".oh-my-zsh"],
["@clone", "--depth=1" ,"https://github.com/robbyrussell/oh-my-zsh.git", ".oh-my-zsh"],
["chsh", "-s", "/bin/zsh"]
]
links = [[".zshrc", "config/zshrc"]]
[tasks.golang]
envs = [["GOPATH", "${HM_DEST}/projects/go"]]
cmds = [["mkdir", "-p", "$GOPATH"], ["@install", "golang"]]
[tasks.node]
cmds = [["@install", "nodejs", "npm"]]
[tasks.dev]
deps = ["git", "golang"]
cmds = [["@install",
"make",
"automake",
"gcc"
]]
###
### Run
###
[tasks.default]
deps = ["htop", "tmux", "git", "zsh"]
deps = ["htop", "tmux", "git", "zsh", "dev"]