Browse Source

Monorepo preparation for hiring module

Shamil Gadelshin 5 years ago
parent
commit
ed421ffab3
31 changed files with 0 additions and 24 deletions
  1. 0 7
      .gitignore
  2. 0 15
      .travis.yml
  3. 0 2
      README.md
  4. 0 0
      runtime-modules/hiring/Cargo.toml
  5. 0 0
      runtime-modules/hiring/src/hiring/application.rs
  6. 0 0
      runtime-modules/hiring/src/hiring/mod.rs
  7. 0 0
      runtime-modules/hiring/src/hiring/opening.rs
  8. 0 0
      runtime-modules/hiring/src/hiring/staking_policy.rs
  9. 0 0
      runtime-modules/hiring/src/lib.rs
  10. 0 0
      runtime-modules/hiring/src/macroes.rs
  11. 0 0
      runtime-modules/hiring/src/mock.rs
  12. 0 0
      runtime-modules/hiring/src/test/mod.rs
  13. 0 0
      runtime-modules/hiring/src/test/public_api/add_application.rs
  14. 0 0
      runtime-modules/hiring/src/test/public_api/add_opening.rs
  15. 0 0
      runtime-modules/hiring/src/test/public_api/begin_accepting_applications.rs
  16. 0 0
      runtime-modules/hiring/src/test/public_api/begin_review.rs
  17. 0 0
      runtime-modules/hiring/src/test/public_api/cancel_opening.rs
  18. 0 0
      runtime-modules/hiring/src/test/public_api/deactivate_application.rs
  19. 0 0
      runtime-modules/hiring/src/test/public_api/ensure_can_add_application.rs
  20. 0 0
      runtime-modules/hiring/src/test/public_api/fill_opening.rs
  21. 0 0
      runtime-modules/hiring/src/test/public_api/mod.rs
  22. 0 0
      runtime-modules/hiring/src/test/public_api/on_finalize.rs
  23. 0 0
      runtime-modules/hiring/src/test/public_api/unstaked.rs
  24. 0 0
      runtime-modules/hiring/src/test/smoke.rs
  25. 0 0
      runtime-modules/hiring/src/test/staking_module/get_opt_stake_amount.rs
  26. 0 0
      runtime-modules/hiring/src/test/staking_module/infallible_stake_initiation_on_application.rs
  27. 0 0
      runtime-modules/hiring/src/test/staking_module/initiate_application_deactivations.rs
  28. 0 0
      runtime-modules/hiring/src/test/staking_module/mod.rs
  29. 0 0
      runtime-modules/hiring/src/test/staking_module/opt_infallible_unstake.rs
  30. 0 0
      runtime-modules/hiring/src/test/staking_module/try_to_initiate_application_deactivation.rs
  31. 0 0
      runtime-modules/hiring/src/test/staking_module/would_application_get_added.rs

+ 0 - 7
.gitignore

@@ -1,7 +0,0 @@
-.DS_Store
-
-target
-
-Cargo.lock
-
-.idea

+ 0 - 15
.travis.yml

@@ -1,15 +0,0 @@
-language: rust
-
-rust:
-  - 1.41.1
-
-cache:
-  - cargo
-
-before_script:
-  - rustup component add rustfmt
-
-script:
-  - cargo fmt --all -- --check
-  - cargo test --verbose --all
-

+ 0 - 2
README.md

@@ -1,2 +0,0 @@
-# substrate-hiring-module
-A hiring module for on-chain organisations.

+ 0 - 0
Cargo.toml → runtime-modules/hiring/Cargo.toml


+ 0 - 0
src/hiring/application.rs → runtime-modules/hiring/src/hiring/application.rs


+ 0 - 0
src/hiring/mod.rs → runtime-modules/hiring/src/hiring/mod.rs


+ 0 - 0
src/hiring/opening.rs → runtime-modules/hiring/src/hiring/opening.rs


+ 0 - 0
src/hiring/staking_policy.rs → runtime-modules/hiring/src/hiring/staking_policy.rs


+ 0 - 0
src/lib.rs → runtime-modules/hiring/src/lib.rs


+ 0 - 0
src/macroes.rs → runtime-modules/hiring/src/macroes.rs


+ 0 - 0
src/mock.rs → runtime-modules/hiring/src/mock.rs


+ 0 - 0
src/test/mod.rs → runtime-modules/hiring/src/test/mod.rs


+ 0 - 0
src/test/public_api/add_application.rs → runtime-modules/hiring/src/test/public_api/add_application.rs


+ 0 - 0
src/test/public_api/add_opening.rs → runtime-modules/hiring/src/test/public_api/add_opening.rs


+ 0 - 0
src/test/public_api/begin_accepting_applications.rs → runtime-modules/hiring/src/test/public_api/begin_accepting_applications.rs


+ 0 - 0
src/test/public_api/begin_review.rs → runtime-modules/hiring/src/test/public_api/begin_review.rs


+ 0 - 0
src/test/public_api/cancel_opening.rs → runtime-modules/hiring/src/test/public_api/cancel_opening.rs


+ 0 - 0
src/test/public_api/deactivate_application.rs → runtime-modules/hiring/src/test/public_api/deactivate_application.rs


+ 0 - 0
src/test/public_api/ensure_can_add_application.rs → runtime-modules/hiring/src/test/public_api/ensure_can_add_application.rs


+ 0 - 0
src/test/public_api/fill_opening.rs → runtime-modules/hiring/src/test/public_api/fill_opening.rs


+ 0 - 0
src/test/public_api/mod.rs → runtime-modules/hiring/src/test/public_api/mod.rs


+ 0 - 0
src/test/public_api/on_finalize.rs → runtime-modules/hiring/src/test/public_api/on_finalize.rs


+ 0 - 0
src/test/public_api/unstaked.rs → runtime-modules/hiring/src/test/public_api/unstaked.rs


+ 0 - 0
src/test/smoke.rs → runtime-modules/hiring/src/test/smoke.rs


+ 0 - 0
src/test/staking_module/get_opt_stake_amount.rs → runtime-modules/hiring/src/test/staking_module/get_opt_stake_amount.rs


+ 0 - 0
src/test/staking_module/infallible_stake_initiation_on_application.rs → runtime-modules/hiring/src/test/staking_module/infallible_stake_initiation_on_application.rs


+ 0 - 0
src/test/staking_module/initiate_application_deactivations.rs → runtime-modules/hiring/src/test/staking_module/initiate_application_deactivations.rs


+ 0 - 0
src/test/staking_module/mod.rs → runtime-modules/hiring/src/test/staking_module/mod.rs


+ 0 - 0
src/test/staking_module/opt_infallible_unstake.rs → runtime-modules/hiring/src/test/staking_module/opt_infallible_unstake.rs


+ 0 - 0
src/test/staking_module/try_to_initiate_application_deactivation.rs → runtime-modules/hiring/src/test/staking_module/try_to_initiate_application_deactivation.rs


+ 0 - 0
src/test/staking_module/would_application_get_added.rs → runtime-modules/hiring/src/test/staking_module/would_application_get_added.rs