Skip to content

Commit 8808557

Browse files
author
git-user-cpp
committed
v0.1.0-remake
1 parent 03c719e commit 8808557

22 files changed

+63
-566
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/.idea
22
/target
3+
/.vscode

CONTRIBUTING.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# **Contributing to RapidNaiveSQL**
2+
3+
## _Each contribution must be only in English and licensed as in LICENSE, without any additional terms or conditions._
4+
5+
## How to make a contribution?
6+
First of all you'd better check the "Project" section to be aware of development process.
7+
8+
1. Fork a repository.
9+
2. Create a new branch (the branch name should be like this: ``` username_featurename_version ``` for instance ```git-user-cpp_addedmenu_v0_1_X```).
10+
3. Provide your changes in that branch.
11+
4. **Test** if everything works properly.
12+
5. Then you can create a pull request.
13+
14+
## How to report an issue?
15+
1. Make sure the problem ain't on your side.
16+
2. Check everything properly.
17+
3. If you're entirely sure about an issue open it in "Issues" section:
18+
```
19+
Problem:
20+
<describe the problem in details>
21+
22+
Steps to reproduce:
23+
<describe step by step how to reproduce the problem>
24+
25+
Expected behaviour:
26+
<describe what should have happened if the problem didn't exist>
27+
28+
Screenshots:
29+
<add screenshots>
30+
31+
Environment:
32+
33+
RapidNaiveSQL version: <type your version>
34+
Rust version: <type your version>
35+
OS info: <type info about your operating system and its architecture>
36+
```

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.PHONY: help
2+
3+
help:
4+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
5+
6+
clean: ## Clean the project using cargo
7+
cargo clean
8+
9+
build: ## Build the project using cargo
10+
cargo build
11+
12+
lint: ## Lint the project using cargo
13+
cargo clippy
14+
15+
fmt: ## Format the project using cargo
16+
cargo fmt
17+
18+
all: ## Use everything at once
19+
cargo clippy
20+
cargo fmt
21+
cargo build
22+
23+
run: ## Run the project
24+
cargo run

src/main.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1717
*/
1818

19-
use crate::main_module::model::data::data_object::DataObject;
20-
21-
pub mod main_module;
22-
2319
fn main() {
24-
let new_obj = DataObject::new("name", "Oleg");
25-
println!("{:?}", new_obj);
26-
}
20+
println!("database");
21+
}

src/main_module/controller/create_table_handler.rs

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/main_module/controller/mod.rs

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/main_module/mod.rs

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/main_module/model/data/data_handler.rs

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/main_module/model/data/data_object.rs

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/main_module/model/data/mod.rs

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/main_module/model/data/table.rs

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)