Skip to content

Commit

Permalink
Python added venv activation
Browse files Browse the repository at this point in the history
+ Fixed formulahendry#1034
+ Added if condition to check if venv is present in workspace.
  • Loading branch information
Anant Narayan Patel committed Jun 18, 2023
1 parent 51eb7b1 commit a0455de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"python": "if [[ -n $(find . -type f -name 'activate') ]]; then source activate; fi && python -u",
"perl": "perl",
"perl6": "perl6",
"ruby": "ruby",
Expand Down

0 comments on commit a0455de

Please sign in to comment.