-
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.
- Loading branch information
1 parent
9daa458
commit 0f9504c
Showing
8 changed files
with
75 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# IntelIJ | ||
.DS_Store | ||
.idea | ||
|
||
#Docker variables | ||
# Docker variables | ||
*.env | ||
.env | ||
|
||
#VSCODE | ||
# VSCode | ||
.vscode/* | ||
|
||
# Built Visual Studio Code Extensions | ||
*.vsix |
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
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 was deleted.
Oops, something went wrong.
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,42 @@ | ||
#!/bin/bash | ||
|
||
# NOTE: `uname -m` is more accurate and universal than `arch` | ||
# See https://en.wikipedia.org/wiki/Uname | ||
unamem="$(uname -m)" | ||
case $unamem in | ||
*aarch64*|arm64) | ||
architecture="arm64";; | ||
*64*) | ||
architecture="amd64";; | ||
*86*) | ||
architecture="386";; | ||
*armv5*) | ||
architecture="armv5";; | ||
*armv6*) | ||
architecture="armv6";; | ||
*armv7*) | ||
architecture="armv7";; | ||
*) | ||
echo "Unknown architecture: $unamem" | ||
;; | ||
esac | ||
export architecture="${architecture}" | ||
|
||
unameu="$(tr '[:lower:]' '[:upper:]' <<< "$(uname)")" | ||
if [[ $unameu == *DARWIN* ]]; then | ||
os_name="darwin" | ||
elif [[ $unameu == *LINUX* ]]; then | ||
os_name="linux" | ||
elif [[ $unameu == *FREEBSD* ]]; then | ||
os_name="freebsd" | ||
elif [[ $unameu == *NETBSD* ]]; then | ||
os_name="netbsd" | ||
elif [[ $unameu == *OPENBSD* ]]; then | ||
os_name="openbsd" | ||
elif [[ $unameu == *WIN* || $unameu == MSYS* ]]; then | ||
# Should catch cygwin | ||
os_name="windows" | ||
else | ||
echo "Unknown OS: $(uname)" | ||
fi | ||
export os_name="${os_name}" |
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