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
This commit is contained in:
Andrejus
2020-03-02 21:14:55 +00:00
parent e2bd54995a
commit 0d87c48e9c
23 changed files with 165 additions and 95 deletions

View File

@@ -1,19 +1,28 @@
.PHONY: clean
# 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
.PHONY: install
install:
bash bootstrap.sh
# ---------------------------------------------------------------------------- #
# Docker commands
# ---------------------------------------------------------------------------- #
.PHONY: build run
.PHONY: test
test:
bash test.sh
.PHONY: build
# Build and tag latest docker image
build:
docker build . -t dotfiles:latest
.PHONY: run
# Run latest docker container
run:
docker run -it dotfiles:latest /bin/bash