Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
da4dfad5
Unverified
Commit
da4dfad5
authored
Oct 30, 2023
by
Kelvin Fichter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: move scripts to getting-started folder
parent
aaac67fc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
0 deletions
+36
-0
config.sh
packages/contracts-bedrock/scripts/getting-started/config.sh
+0
-0
versions.sh
...ges/contracts-bedrock/scripts/getting-started/versions.sh
+36
-0
wallets.sh
...ages/contracts-bedrock/scripts/getting-started/wallets.sh
+0
-0
No files found.
packages/contracts-bedrock/scripts/getting-started
-
config.sh
→
packages/contracts-bedrock/scripts/getting-started
/
config.sh
View file @
da4dfad5
File moved
packages/contracts-bedrock/scripts/getting-started/versions.sh
0 → 100755
View file @
da4dfad5
#!/usr/bin/env bash
# This script prints out the versions of the various tools used in the Getting
# Started quickstart guide on the docs site. Simplifies things for users so
# they can easily see if they're using the right versions of everything.
version
()
{
local
string
=
$1
local
version_regex
=
'([0-9]+(\.[0-9]+)+)'
if
[[
$string
=
~
$version_regex
]]
;
then
echo
"
${
BASH_REMATCH
[1]
}
"
else
echo
"No version found."
fi
}
# Grab versions
ver_git
=
$(
version
"
$(
git
--version
)
"
)
ver_go
=
$(
version
"
$(
go version
)
"
)
ver_node
=
$(
version
"
$(
node
--version
)
"
)
ver_pnpm
=
$(
version
"
$(
pnpm
--version
)
"
)
ver_foundry
=
$(
version
"
$(
forge
--version
)
"
)
ver_make
=
$(
version
"
$(
make
--version
)
"
)
ver_jq
=
$(
version
"
$(
jq
--version
)
"
)
ver_direnv
=
$(
version
"
$(
direnv
--version
)
"
)
# Print versions
echo
"Dependency | Minimum | Actual"
echo
"git 2
$ver_git
"
echo
"go 1.21
$ver_go
"
echo
"node 20
$ver_node
"
echo
"pnpm 8
$ver_pnpm
"
echo
"foundry 0.2.0
$ver_foundry
"
echo
"make 4
$ver_make
"
echo
"jq 1.6
$ver_jq
"
echo
"direnv 2
$ver_direnv
"
packages/contracts-bedrock/scripts/getting-started
-
wallets.sh
→
packages/contracts-bedrock/scripts/getting-started
/
wallets.sh
View file @
da4dfad5
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment