Created
March 27, 2023 06:09
-
-
Save Kasp42/a916a3d631e3fe76b3f3ad9cf127086d to your computer and use it in GitHub Desktop.
Revisions
-
Kasp42 created this gist
Mar 27, 2023 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/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]