Skip to content

Copying rust client and change it to use libra-dev for AccountResource #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
command: |
sudo sh -c 'echo "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list'
sudo apt-get update
sudo apt-get -t stretch-backports install cmake python3-dev python3-venv
sudo apt-get -t stretch-backports install cmake python3-dev python3-venv clang llvm
- run:
name: Build everything
command: |
Expand Down
8 changes: 7 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@ set -euo pipefail

# Build libra-dev first
cd libra-dev
cargo build
cargo test
cd ..

# Then build rust client
cd rust
cargo build
cd ..

# Then build everything else
# C Stuff
rm -rf build
mkdir build
cd build
cmake ..
make VERBOSE=1

# Test!
cd rust && ./test.sh && cd ..
./c/c-client
./cpp/cpp-client
1 change: 1 addition & 0 deletions libra-dev/include/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
extern "C" {
#endif

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>

Expand Down
4 changes: 4 additions & 0 deletions rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/target

# Client stuff
/client.mnemonic
Loading