Add binaries
This commit is contained in:
parent
66b55e4ed5
commit
c58bb04a54
3 changed files with 29 additions and 8 deletions
BIN
bin/homemaker.amd64
Executable file
BIN
bin/homemaker.amd64
Executable file
Binary file not shown.
BIN
bin/homemaker.arm
Executable file
BIN
bin/homemaker.arm
Executable file
Binary file not shown.
37
common.toml
37
common.toml
|
@ -2,14 +2,22 @@
|
||||||
### Macros
|
### Macros
|
||||||
###
|
###
|
||||||
[macros.install__ubuntu]
|
[macros.install__ubuntu]
|
||||||
prefix = ["sudo", "apt-get", "install"]
|
prefix = ["sudo", "apt-get", "install"]
|
||||||
|
|
||||||
[macros.install__arch]
|
[macros.install__arch]
|
||||||
prefix = ["sudo", "pacman", "-S"]
|
prefix = ["sudo", "pacman", "-S"]
|
||||||
|
|
||||||
[macros.install__archlinux]
|
[macros.clone]
|
||||||
prefix = ["sudo", "pacman", "-S"]
|
deps = ["git"]
|
||||||
|
prefix = ["git", "clone"]
|
||||||
|
|
||||||
|
[macros.go-get]
|
||||||
|
deps = ["golang"]
|
||||||
|
prefix = ["go", "get"]
|
||||||
|
|
||||||
|
[macros.npm-install]
|
||||||
|
deps = ["node"]
|
||||||
|
prefix = ["npm", "install", "-u"]
|
||||||
|
|
||||||
###
|
###
|
||||||
### Tasks
|
### Tasks
|
||||||
|
@ -25,21 +33,34 @@
|
||||||
links = [[".zshrc", "config/tmux"]]
|
links = [[".zshrc", "config/tmux"]]
|
||||||
|
|
||||||
[tasks.git]
|
[tasks.git]
|
||||||
rejects = [["which", "git"]]
|
|
||||||
cmds = [["@install", "git"]]
|
cmds = [["@install", "git"]]
|
||||||
templates = [[".gitconfig", "gitconfig"]]
|
templates = [[".gitconfig", "gitconfig"]]
|
||||||
|
|
||||||
[tasks.zsh]
|
[tasks.zsh]
|
||||||
rejects = [["which", "zsh"]]
|
rejects = [["which", "zsh"]]
|
||||||
cmds = [["@install", "zsh"],
|
cmds = [["@install", "zsh"],
|
||||||
["chsh", "-s", "/bin/zsh"],
|
["@clone", "--depth=1" ,"https://github.com/robbyrussell/oh-my-zsh.git", ".oh-my-zsh"],
|
||||||
["git" ,"clone", "--depth=1" ,"https://github.com/robbyrussell/oh-my-zsh.git", ".oh-my-zsh"],
|
["chsh", "-s", "/bin/zsh"]
|
||||||
]
|
]
|
||||||
links = [[".zshrc", "config/zshrc"]]
|
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
|
### Run
|
||||||
###
|
###
|
||||||
[tasks.default]
|
[tasks.default]
|
||||||
deps = ["htop", "tmux", "git", "zsh"]
|
deps = ["htop", "tmux", "git", "zsh", "dev"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue