Browse Source

In rebuild-wekan.sh, option 9 to Save Meteor dependency chain to ../meteor-deps.txt .

Thanks to xet7 !
Lauri Ojansivu 1 year ago
parent
commit
7c80a34cf2
1 changed files with 4 additions and 3 deletions
  1. 4 3
      rebuild-wekan.sh

+ 4 - 3
rebuild-wekan.sh

@@ -15,7 +15,7 @@ function pause(){
 
 echo
 PS3='Please enter your choice: '
-options=("Install Wekan dependencies" "Build Wekan" "Run Meteor for dev on http://localhost:4000" "Run Meteor for dev on http://localhost:4000 with trace warnings, and warnings using old Meteor API that will not exist in Meteor 3.0" "Run Meteor for dev on http://localhost:4000 with bundle visualizer" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000 with MONGO_URL=mongodb://127.0.0.1:27019/wekan" "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT" "Show Meteor dependency chain" "Quit")
+options=("Install Wekan dependencies" "Build Wekan" "Run Meteor for dev on http://localhost:4000" "Run Meteor for dev on http://localhost:4000 with trace warnings, and warnings using old Meteor API that will not exist in Meteor 3.0" "Run Meteor for dev on http://localhost:4000 with bundle visualizer" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000 with MONGO_URL=mongodb://127.0.0.1:27019/wekan" "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT" "Save Meteor dependency chain to ../meteor-deps.txt" "Quit")
 
 select opt in "${options[@]}"
 do
@@ -201,8 +201,9 @@ do
 		break
 		;;
 
-    "Show Meteor dependency chain")
-                meteor list --tree  | more
+    "Save Meteor dependency chain to ../meteor-deps.txt")
+                meteor list --tree > ../meteor-deps.txt
+                echo "Saved Meteor dependency chain to ../meteor-deps.txt"
                 #---------------------------------------------------------------------
                 break
                 ;;