Skip to content

v0.1.0-remake #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.idea
/target
/.vscode
36 changes: 36 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# **Contributing to RapidNaiveSQL**

## _Each contribution must be only in English and licensed as in LICENSE, without any additional terms or conditions._

## How to make a contribution?
First of all you'd better check the "Project" section to be aware of development process.

1. Fork a repository.
2. Create a new branch (the branch name should be like this: ``` username_featurename_version ``` for instance ```git-user-cpp_addedmenu_v0_1_X```).
3. Provide your changes in that branch.
4. **Test** if everything works properly.
5. Then you can create a pull request.

## How to report an issue?
1. Make sure the problem ain't on your side.
2. Check everything properly.
3. If you're entirely sure about an issue open it in "Issues" section:
```
Problem:
<describe the problem in details>

Steps to reproduce:
<describe step by step how to reproduce the problem>

Expected behaviour:
<describe what should have happened if the problem didn't exist>

Screenshots:
<add screenshots>

Environment:

RapidNaiveSQL version: <type your version>
Rust version: <type your version>
OS info: <type info about your operating system and its architecture>
```
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.PHONY: help

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'

clean: ## Clean the project using cargo
cargo clean

build: ## Build the project using cargo
cargo build

lint: ## Lint the project using cargo
cargo clippy

fmt: ## Format the project using cargo
cargo fmt

all: ## Use everything at once
cargo clippy
cargo fmt
cargo build

run: ## Run the project
cargo run
9 changes: 2 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

use crate::main_module::model::data::data_object::DataObject;

pub mod main_module;

fn main() {
let new_obj = DataObject::new("name", "Oleg");
println!("{:?}", new_obj);
}
println!("database");
}
31 changes: 0 additions & 31 deletions src/main_module/controller/create_table_handler.rs

This file was deleted.

19 changes: 0 additions & 19 deletions src/main_module/controller/mod.rs

This file was deleted.

20 changes: 0 additions & 20 deletions src/main_module/mod.rs

This file was deleted.

41 changes: 0 additions & 41 deletions src/main_module/model/data/data_handler.rs

This file was deleted.

32 changes: 0 additions & 32 deletions src/main_module/model/data/data_object.rs

This file was deleted.

22 changes: 0 additions & 22 deletions src/main_module/model/data/mod.rs

This file was deleted.

93 changes: 0 additions & 93 deletions src/main_module/model/data/table.rs

This file was deleted.

Loading