mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
Rename Palette to FRAME (#4182)
* palette -> frame * PALETTE, Palette -> FRAME * Move folder pallete -> frame * Update docs/Structure.adoc Co-Authored-By: Benjamin Kampmann <ben.kampmann@googlemail.com> * Update docs/README.adoc Co-Authored-By: Benjamin Kampmann <ben.kampmann@googlemail.com> * Update README.adoc
This commit is contained in:
@@ -6,19 +6,19 @@
|
||||
# [top-lvl-dir]<[crate-name-prefix]
|
||||
|
||||
# For instance no crate within `./client` directory
|
||||
# is allowed to import any crate with a directory path containing `palette`.
|
||||
# Such rule is just: `client<palette`.
|
||||
# is allowed to import any crate with a directory path containing `frame`.
|
||||
# Such rule is just: `client<frame`.
|
||||
|
||||
# The script should be run from the main repo directory!
|
||||
|
||||
set -u
|
||||
|
||||
PLEASE_DONT=(
|
||||
"client<palette"
|
||||
"client<frame"
|
||||
"client<node"
|
||||
"palette<node"
|
||||
"palette<client"
|
||||
"primitives<palette"
|
||||
"frame<node"
|
||||
"frame<client"
|
||||
"primitives<frame"
|
||||
"primitives<client"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
#
|
||||
# check for any changes in the node/src/runtime, palette/ and primitives/sr_* trees. if
|
||||
# check for any changes in the node/src/runtime, frame/ and primitives/sr_* trees. if
|
||||
# there are any changes found, it should mark the PR breaksconsensus and
|
||||
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
|
||||
# that alters the version.
|
||||
@@ -29,7 +29,7 @@ github_label () {
|
||||
|
||||
# check if the wasm sources changed
|
||||
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
|
||||
| grep -q -e '^bin/node/src/runtime' -e '^palette/' -e '^primitives/sr-' | grep -v -e '^primitives/sr-arithmetic/fuzzer'
|
||||
| grep -q -e '^bin/node/src/runtime' -e '^frame/' -e '^primitives/sr-' | grep -v -e '^primitives/sr-arithmetic/fuzzer'
|
||||
then
|
||||
cat <<-EOT
|
||||
|
||||
@@ -99,7 +99,7 @@ else
|
||||
|
||||
source file directories:
|
||||
- bin/node/src/runtime
|
||||
- palette
|
||||
- frame
|
||||
- primitives/sr-*
|
||||
|
||||
versions file: ${VERSIONS_FILE}
|
||||
|
||||
Reference in New Issue
Block a user