Created
March 27, 2023 06:09
-
-
Save Kasp42/a916a3d631e3fe76b3f3ad9cf127086d to your computer and use it in GitHub Desktop.
Install Less 4.1.3
This file contains hidden or 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
| #!/bin/bash | |
| if test "$BASH" = ""; then | |
| echo "You must use: bash $0" | |
| exit 1 | |
| fi | |
| s_project_dir="$1" | |
| if [[ ! -d "$s_project_dir" ]]; then | |
| echo "Project dir does not exist: $s_project_dir" | |
| exit 1 | |
| fi | |
| if [[ ! -d "$s_project_dir/wl.trunk" ]]; then | |
| echo "Workspace dir is not valid." | |
| exit | |
| fi | |
| mkdir ${s_project_dir}/less/4.1.3 | |
| cd ${s_project_dir}/less/4.1.3 && npm install [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment