mirror of
https://git.hush.is/hush/hush3.git
synced 2025-12-09 00:03:36 -05:00
update build.sh and CONTRIBUTING.md
This commit is contained in:
parent
9806119366
commit
ff37b7a1ec
@ -37,7 +37,7 @@ Before we get started, here are a few things we expect from you (and that you sh
|
||||
|
||||
## How to contribute
|
||||
|
||||
If you'd like to contribute, start by searching through the [issues](https://github.com/MyHush/hush3/issues) and [pull requests](https://github.com/MyHush/hush3/pulls) to see whether someone else has raised a similar idea or question.
|
||||
If you'd like to contribute, start by searching through the [issues](https://git.hush.is/hush/hush3/issues) and [pull requests](https://git.hush.is/hush/hush3/pulls) to see whether someone else has raised a similar idea or question.
|
||||
|
||||
If you don't see your idea listed, and you think it can contribute to Hush, do one of the following:
|
||||
* **If your contribution is minor,** such as a fixing a typo, open a pull request.
|
||||
@ -49,7 +49,7 @@ Don't write shitty code. Do not emulate "jl777 code style" from Komodo, we consi
|
||||
|
||||
## Setting up your environment
|
||||
|
||||
The Hush Core (hushd) is mainly written in C++ with specific modules written in C. Follow the [Install](https://github.com/MyHush/hush3/blob/master/INSTALL.md) instructions to build hushd from sources. For more informations about the Hush Platform and a full API documentation please visit the official [Hush Developer documentation](https://gilardh.github.io/dev-website/developers/)
|
||||
The Hush Core (hushd) is mainly written in C++ with specific modules written in C. Follow the [Install](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md) instructions to build hushd from sources. For more informations about the Hush Platform and a full API documentation please visit the official [Hush Developer documentation](https://faq.hush.is/rpc/)
|
||||
|
||||
Other Hush software is written in Rust or Go. We avoid Javascript at all costs.
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ sudo swapon /swapfile
|
||||
# install build dependencies
|
||||
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
|
||||
autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \
|
||||
bsdmainutils automake curl unzip nano libsodium-dev
|
||||
bsdmainutils automake curl unzip nano libsodium-dev cmake
|
||||
# clone git repo
|
||||
git clone https://git.hush.is/hush/hush3
|
||||
cd hush3
|
||||
|
||||
@ -5,6 +5,12 @@
|
||||
|
||||
set -eu -o pipefail
|
||||
|
||||
# Check if cmake, a new dependency for randomx support, is installed on system and exits if it is not
|
||||
if ! [ -x "$(command -v cmake)" ]; then
|
||||
echo 'Error: cmake is not installed. Install cmake and try again.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
function cmd_pref() {
|
||||
if type -p "$2" > /dev/null; then
|
||||
eval "$1=$2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user