Skip to content
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

Add initial protocol syntax. #26

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
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
368 changes: 204 additions & 164 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ release: build-release

.PHONY: release-test-zero
release-test-zero:
cargo run $(PROFILE_RELEASE) -- --new test-n 0
RUST_LOG=TRACE cargo run $(PROFILE_RELEASE) -- --new test-n 0

.PHONY: release-test-all
release-test-all:
cargo run $(PROFILE_RELEASE) -- --new exec-all
RUST_LOG=TRACE cargo run $(PROFILE_RELEASE) -- --new exec-all

-: ## -----------------------------------------------------------
-: ## ---------- Rest of the commands in the Makefile -----------
Expand All @@ -45,28 +45,28 @@ release-test-all:
build-dev-fast: ## Slower to compile, faster to execute. Builds all projects
@set -e; \
RUST_LOG=TRACE ./choo hoon/main.hoon hoon; \
# mv out.jam assets/jocktest.jam; \
mv out.jam assets/jocktest.jam; \
cargo build $(PROFILE_DEV_FAST)

.PHONY: build-parallel
build-parallel: ## profiling profile with parallel feature enabled
@set -e; \
./choo hoon/main.hoon hoon; \
# mv out.jam assets/jocktest.jam; \
mv out.jam assets/jocktest.jam; \
cargo build $(FEATURES_PARALLEL) $(PROFILE_PROFILING)

.PHONY: build
build-dev-debug: ## Fast to compile, slow to execute. Builds all projects
@set -e; \
RUST_LOG=TRACE ./choo --new --log-level trace hoon/main.hoon hoon; \
# mv out.jam assets/jocktest.jam; \
mv out.jam assets/jocktest.jam; \
cargo build

.PHONY: build-release
build-release: ## Slowest to compile, fastest to execute. Builds all projects
@set -e; \
RUST_LOG=TRACE ./choo hoon/main.hoon hoon; \
# mv out.jam assets/jocktest.jam; \
mv out.jam assets/jocktest.jam; \
cargo build $(PROFILE_RELEASE)

.PHONY: update-choo
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ make build release

# run all codes in /lib/tests
./target/release/jock-testing exec-all
# - or -
make release-test-all

# run specific code in /lib/tests
./target/release/jock-testing test-n 0
```
Binary file modified assets/jocktest.jam
Binary file not shown.
Loading
Loading