File tree 5 files changed +485
-11
lines changed
main/groovy/org/alpha4j/common
5 files changed +485
-11
lines changed 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
1
5
.PHONY : build test jar clean
2
6
3
7
build :
8
+ clear
9
+ rm -rf $(BUILD_DIR )
4
10
./gradlew jar
5
11
6
12
clean :
16
22
17
23
groovy :
18
24
./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|plugin/build" > ./$(LOG_DIR ) /project_structure.txt
Original file line number Diff line number Diff line change @@ -71,15 +71,9 @@ ng.version=v1.0.0
71
71
implementation files('libs/alpha4j-v1.0.0.jar') // filename based on ng.name and ng.version
72
72
```
73
73
74
- 2 . Edit file ` main Spring Boot application ` (optional)
74
+ ## Classes
75
75
76
- ``` java
77
-
78
- @SpringBootApplication
79
- @ComponentScan (basePackages = {" org.alpha4j" }) // root name of package alpha4j
80
- public class ApiApplication {
81
- public static void main (String [] args ) {
82
- SpringApplication . run(ApiApplication . class, args);
83
- }
84
- }
85
- ```
76
+ - ` Map4j `
77
+ - ` LFUCache4j `
78
+ - ` LRUCache `
79
+ - ` LRUCache4j `
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