This repository has been archived by the owner on Aug 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only creat one virtual enviroment for run, priority to -e parameter o…
…ver -v
- Loading branch information
constrict0r
committed
Nov 25, 2018
1 parent
4cc3ae2
commit 921ddb9
Showing
13 changed files
with
54 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@startuml | ||
start | ||
|
||
if (direnv installed by apt?) then (yes) | ||
else (no) | ||
:Install direnv by apt; | ||
endif | ||
|
||
end | ||
@enduml |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@startuml | ||
start | ||
:Get arguments; | ||
|
||
if (venv only?) then (yes) | ||
:Create venv on PATH; | ||
else (no) | ||
:Create project on PATH; | ||
endif | ||
|
||
stop | ||
@enduml |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@startuml | ||
start | ||
:Create layout; | ||
|
||
if (venv-path not empty) then (yes) | ||
:Create venv on given path; | ||
else (no) | ||
if (venv?) then (yes) | ||
:Create venv inside project; | ||
:Set venv path = .venv; | ||
else (no) | ||
endif | ||
endif | ||
|
||
if (OS = linux and venv_path not empty?) then (yes) | ||
:Handle direnv configuration; | ||
endif | ||
end | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters