Skip to content

Commit

Permalink
fix: fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ynfeng committed Feb 22, 2021
2 parents 957dad1 + b2686ec commit 549f05c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 23. PSA(Project structure analysis)
# 23. PSA (Project structure analysis)

Date: 2021-02-22

Expand Down
1 change: 1 addition & 0 deletions docs/adr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
* [20. output-for-plugins](0020-output-for-plugins.md)
* [21. plugin-config](0021-plugin-config.md)
* [22. suggest-with-i18n](0022-suggest-with-i18n.md)
* [23. psa(project-structure-analysis)](0023-psa(project-structure-analysis).md)
6 changes: 4 additions & 2 deletions psa/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pub mod submodule;
pub mod project;
pub mod psa_facet;
pub mod psa_library;
pub mod psa_module;
pub mod psa_project;
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions psa/src/psa_module.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub struct Module {}
6 changes: 3 additions & 3 deletions psa/src/project.rs → psa/src/psa_project.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use crate::submodule::SubModule;
use crate::psa_module::Module;

pub struct Project {
pub name: String,
pub path: String,
pub modules: Vec<SubModule>,
pub modules: Vec<Module>,
}

#[cfg(test)]
mod tests {
use crate::project::Project;
use crate::psa_project::Project;

#[test]
fn should_create_project() {
Expand Down

0 comments on commit 549f05c

Please sign in to comment.