Skip to content

Commit ab76e46

Browse files
committed
✨ feat: add Map4j #5 #3
1 parent 467930c commit ab76e46

File tree

5 files changed

+485
-11
lines changed

5 files changed

+485
-11
lines changed

Diff for: Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
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

37
build:
8+
clear
9+
rm -rf $(BUILD_DIR)
410
./gradlew jar
511

612
clean:
@@ -16,3 +22,9 @@ test:
1622

1723
groovy:
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|plugin/build" > ./$(LOG_DIR)/project_structure.txt

Diff for: README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,9 @@ ng.version=v1.0.0
7171
implementation files('libs/alpha4j-v1.0.0.jar') // filename based on ng.name and ng.version
7272
```
7373

74-
2. Edit file `main Spring Boot application` (optional)
74+
## Classes
7575

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`

Diff for: TOOLS.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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`.

0 commit comments

Comments
 (0)