Skip to content

Commit

Permalink
Pushing makefile changes to try to give native windows users a warnin…
Browse files Browse the repository at this point in the history
…g when trying to do this stuff outside the VM
  • Loading branch information
Barnsa committed Sep 18, 2020
1 parent 1b9ca9a commit ee2008a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@ venvcheck:
ifeq ($(INVENV),)
ifeq ($(OS), Windows_NT)
ifeq ($(SHELL), sh.exe)
$(error You should ideally only run this from within the venv. Use '.\venv\Scripts\Activate.ps1')

$(info Currently, native windows isn't supported in this makefile code. Use 'pip install -r requirements.txt' from within a venv)
else
$(error You should ideally only run this from within the venv. Use '.\venv\Scripts\activate.bat')


endif
else
$(error You should only run this from within the venv. Use '. ./venv/bin/activate')
endif
else
@echo "venv check passed\n"
endif
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ plugins:

theme:
name: material
#custom_dir: 'mk_doc_ultra/' ## Labels a custom directory that can contain modifications to the theme, js and css are auto loaded from here.
custom_dir: 'mk_doc_ultra/' ## Labels a custom directory that can contain modifications to the theme, js and css are auto loaded from here.
logo: 'images/logo.svg'
palette:
primary: 'indigo'
Expand Down

0 comments on commit ee2008a

Please sign in to comment.