mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 06:41:02 +00:00
Cleanup repo (a tiny bit) (#1382)
* Delete stale adoc files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Convert adoc to md Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add adoc to gitignore Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Delete more random unmaintained files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Markdown lint Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
be761b743b
commit
2f242e0792
@@ -1,6 +0,0 @@
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
brew install openssl cmake
|
||||
curl https://sh.rustup.rs -sSf | sh
|
||||
source ~/.cargo/env
|
||||
cargo install --git https://github.com/paritytech/substrate subkey
|
||||
cargo install --git https://github.com/paritytech/substrate substrate
|
||||
@@ -1,34 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# To run this script, you need to install the 'toml' python package and install the 'graphviz' package:
|
||||
# pip install toml
|
||||
# sudo apt-get install graphviz
|
||||
# the first parameter is the runtime folder
|
||||
# python ./.maintain/runtime-dep.py ./substrate/runtime | dot -Tpng -o output.png
|
||||
import sys
|
||||
import os
|
||||
import toml
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
print("needs the runtime folder.")
|
||||
sys.exit(-1)
|
||||
|
||||
runtime_dir = sys.argv[1]
|
||||
|
||||
files = [os.path.join(runtime_dir, f, 'Cargo.toml') for f in os.listdir(runtime_dir) if os.path.isfile(os.path.join(runtime_dir, f, 'Cargo.toml')) and f != 'example']
|
||||
|
||||
print("digraph G {")
|
||||
|
||||
|
||||
PREFIX = "substrate-runtime-"
|
||||
|
||||
for f in files:
|
||||
manifest = toml.load(f)
|
||||
|
||||
package_name = manifest['package']['name']
|
||||
deps = [d for d in manifest['dependencies'].keys() if d.startswith(PREFIX)]
|
||||
|
||||
for d in deps:
|
||||
print(" \"{}\" -> \"{}\";".format(package_name, d))
|
||||
|
||||
print("}")
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/bin/sh --
|
||||
set -eu
|
||||
case $0 in
|
||||
(/*) dir=${0%/*}/;;
|
||||
(*/*) dir=./${0%/*};;
|
||||
(*) dir=.;;
|
||||
esac
|
||||
|
||||
find "$dir/.." -name Cargo.lock -execdir cargo update \;
|
||||
Reference in New Issue
Block a user