Rename PAINT to PALETTE (#4161)

* /paint to /palette

* rename paint to palette

* rename the modules in palette to be pallets

* update Structure.adoc

* bump impl

* fix CI directory

* Update docs/Structure.adoc

Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org>
This commit is contained in:
joe petrowski
2019-11-21 01:08:25 +01:00
committed by Benjamin Kampmann
parent 512c86a72f
commit 2783b44207
206 changed files with 898 additions and 888 deletions
+6 -6
View File
@@ -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 `paint`.
# Such rule is just: `client<paint`.
# is allowed to import any crate with a directory path containing `palette`.
# Such rule is just: `client<palette`.
# The script should be run from the main repo directory!
set -u
PLEASE_DONT=(
"client<paint"
"client<palette"
"client<node"
"paint<node"
"paint<client"
"primitives<paint"
"palette<node"
"palette<client"
"primitives<palette"
"primitives<client"
)
+3 -3
View File
@@ -1,7 +1,7 @@
#!/bin/sh
#
#
# check for any changes in the node/src/runtime, paint/ and core/sr_* trees. if
# check for any changes in the node/src/runtime, palette/ and core/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.
@@ -32,7 +32,7 @@ github_label () {
# check if the wasm sources changed
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q -e '^node/src/runtime' -e '^paint/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
| grep -q -e '^node/src/runtime' -e '^palette/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
then
cat <<-EOT
@@ -102,7 +102,7 @@ else
source file directories:
- node/src/runtime
- paint
- palette
- core/sr-*
versions file: ${VERSIONS_FILE}