8000 GitHub - neoharju/dev: dev setup · GitHub
[go: up one dir, main page]

Skip to content
neoharjuPublic

About

dev setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

116 Commits

Folders and files

Repository files navigation

dev

Personal linux dev-machine bootstrap: install packages, then dotfiles/configs. No guarantees/warranties/liabilities/responsibilities.

WARN: HyDE install is semi-broken right now and requires shenanigans, so the install scripts wont work directly right now until the issues are fixed.

TODO: check-versions script, default git conf, templates(?), debian version

Flags

Every entrypoint (run, dev-env, and each packages.d/* script) understands:

  • --dry -- print what would happen, touch nothing.
  • -h / --help -- usage (on run and dev-env).

Test

export DEV_ENV=$(pwd)
./run --dry
./dev-env --dry

Install packages (HyDE, cpp-tools, tmux, vim, neovim, ...)

export DEV_ENV=$(pwd)

# one target
./run dev

# everything under packages.d/
./run

Install dotfiles/configs

export DEV_ENV=$(pwd)

# copy (default)
./dev-env

# symlink instead, so edits under $HOME follow the repo
./dev-env --link

Test run scripts with Docker

docker build -t archenjoyer .
docker run --rm -it --tmpfs /tmp archenjoyer sh

While inside the container

git clone https://github.com/neoharju/dev.git
cd dev
export DEV_ENV=$(pwd)
./run
./dev-env

Check bash scripts for basic functioning

bash shellchecker

Ref

[0] https://github.com/ThePrimeagen/dev/

About

dev setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0