You must have git
, node 10.x
, xcode
and npm
or yarn
- Clone
https://github.com/PeterDing/chord
git clone https://github.com/PeterDing/chord chord
- Install dependences, I use
yarn
here
cd chord
yarn install
- Compile typescript files
yarn run compile
- Build dmg
yarn run dist:mac
You must have git
, node 10.x
and npm
or yarn
, python2.7.x
The v140 Platform Toolset is needed.
- Clone
https://github.com/PeterDing/chord
git clone https://github.com/PeterDing/chord chord
- Install dependences, I use
yarn
here
cd chord
yarn install
- Compile typescript files
yarn run compile
- Clean breaking linking
cd build
python clean-windows-fail-links.py
cd ..
- Build exe
yarn run dist:win
You must have git
, node 10.x
and npm
or yarn
build-essential
is also needed
- Install tools
sudo apt update
sudo apt install -y build-essential gcc g++ make bsdtar
# Install nodejs
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get update && sudo apt-get install -y nodejs
# Install yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install -y yarn
sudo apt install -y python-dev
- Clone
https://github.com/PeterDing/chord
git clone https://github.com/PeterDing/chord chord
- Install dependences, I use
yarn
here
cd chord
yarn install
- Compile typescript files
yarn run compile
- Build package
yarn run dist:linux