intsall fix attempts add pyenv path after install use https repository install apt-utils set FAST_MODE in bootstrap.sh keep truthy FAST_MODE variable source bashrc after linking clean up errors further install fixes further cleanup fix fisher install chmod +x install remove source bashrc from make
29 lines
774 B
Makefile
29 lines
774 B
Makefile
# dotfiles Makefile
|
|
# ---------------------------------------------------------------------------- #
|
|
# Local target commands (warning: affects local environment)
|
|
# ---------------------------------------------------------------------------- #
|
|
.PHONY: install clean
|
|
|
|
# Install dotfiles locally
|
|
install: SHELL:=/bin/bash
|
|
install:
|
|
chmod +x ./bootstrap.sh
|
|
./bootstrap.sh
|
|
|
|
# Clean up after install
|
|
clean:
|
|
rm -f .dotlock
|
|
|
|
# ---------------------------------------------------------------------------- #
|
|
# Docker commands
|
|
# ---------------------------------------------------------------------------- #
|
|
.PHONY: build run
|
|
|
|
# Build and tag latest docker image
|
|
build:
|
|
docker build . -t dotfiles:latest
|
|
|
|
# Run latest docker container
|
|
run:
|
|
docker run -it dotfiles:latest /bin/bash
|