@@ -48,7 +48,7 @@ rad() {
48
48
49
49
echo >&2
50
50
echo " ▒ rad $cmd $@ " >&2
51
- cargo run -q -p rad -- $cmd " $@ "
51
+ cargo run --quiet --package rad -- $cmd " $@ "
52
52
}
53
53
54
54
banner () {
@@ -59,8 +59,8 @@ banner() {
59
59
60
60
BASE=$( pwd)
61
61
62
- rm -rf tmp/
63
- mkdir -p tmp/root
62
+ rm --recursive --force tmp/
63
+ mkdir --parents tmp/root
64
64
65
65
# ##################
66
66
banner " MAINTAINER"
@@ -70,7 +70,7 @@ rad auth --init --name cloudhead --passphrase cloudhead
70
70
MAINTAINER=$( rad self --profile)
71
71
72
72
# Create git repo
73
- mkdir -p $BASE /tmp/maintainer/acme
73
+ mkdir --parents $BASE /tmp/maintainer/acme
74
74
cd $BASE /tmp/maintainer/acme
75
75
# Setup project seed config.
76
76
echo " ACME" > README
@@ -83,9 +83,9 @@ cat << EOF > Radicle.toml
83
83
EOF
84
84
85
85
# Create repo and initial commit.
86
- git init -b master
86
+ git init --initial-branch master
87
87
git add .
88
- git commit -m " Initial commit" --no-gpg-sign
88
+ git commit --message " Initial commit" --no-gpg-sign
89
89
90
90
# Initialize
91
91
rad init --name acme --description ' Acme Monorepo' --no-confirm
@@ -97,7 +97,7 @@ PROJECT=$(rad inspect)
97
97
banner " CONTRIBUTOR"
98
98
# ###################
99
99
100
- mkdir -p $BASE /tmp/contributor
100
+ mkdir --parents $BASE /tmp/contributor
101
101
cd $BASE /tmp/contributor
102
102
103
103
rad auth --init --name scooby --passphrase scooby
@@ -113,7 +113,7 @@ cd acme
113
113
echo >> README
114
114
echo " Acme is such a great company!" >> README
115
115
git add README
116
- git commit -m " Update README" --no-gpg-sign
116
+ git commit --message " Update README" --no-gpg-sign
117
117
118
118
# Push commit to monorepo
119
119
# (rad-push)
0 commit comments