File tree Expand file tree Collapse file tree
plugin/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Define the directory where the JAR file is located after build
2+ BUILD_DIR =./plugin/build
3+ LOG_DIR =logs
4+ # Declare targets as phony to avoid conflicts with files of the same name
15.PHONY : build test jar clean
26
37build :
8+ clear
9+ rm -rf $(BUILD_DIR )
410 ./gradlew jar
511
612clean :
1622
1723groovy :
1824 ./gradlew build
25+
26+ tree :
27+ # Create logs directory if not exists
28+ mkdir -p $(LOG_DIR )
29+ # Generate project structure and save it to logs/project_structure.txt
30+ tree -I " .gradle|.idea|build|logs" > ./$(LOG_DIR ) /project_structure.txt
Original file line number Diff line number Diff line change 1+ # Tree
2+
3+ You can use the tree command-line utility in Node.js to generate a tree-like structure of your project directory. Here's
4+ how you can use it:
5+
6+ First, make sure you have the ` tree-node-cli ` package installed globally:
7+
8+ ``` bash
9+ npm install -g tree-node-cli
10+ ```
11+
12+ Then, navigate to your project directory and run the following command:
13+
14+ ``` bash
15+ tree -I " node_modules|.git|.DS_Store"
16+ ```
17+
18+ If you want to save the output to a file instead of printing it to the console, you can use the -o option followed by
19+ the file path:
20+
21+ ``` bash
22+ tree -I " node_modules|.git|.DS_Store" > project_structure.txt
23+ ```
24+
25+ This will save the output to a file named ` project_structure.txt ` .
You can’t perform that action at this time.
0 commit comments