Skip to content

Commit

Permalink
initial pytests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
djrtwo committed Mar 18, 2019
1 parent 828dd45 commit 839590b
Show file tree
Hide file tree
Showing 17 changed files with 2,514 additions and 53 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.pyc
/__pycache__
/venv

/build
/.pytest_cache
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ BUILD_DIR = ./build
.PHONY: clean all


clean:
rm -rf $(BUILD_DIR)


$(BUILD_DIR)/phase0:
mkdir -p $@
python3 $(SCRIPT_DIR)/phase0/build_spec.py $(SPEC_DIR)/core/0_beacon-chain.md $(SCRIPT_DIR)/phase0/minimal_ssz.py \
$(SCRIPT_DIR)/phase0/bls_stub.py $(SCRIPT_DIR)/phase0/state_transition.py $(SCRIPT_DIR)/phase0/monkey_patches.py > $@/spec.py
python3 $(SCRIPT_DIR)/phase0/build_spec.py $(SPEC_DIR)/core/0_beacon-chain.md $@/spec.py
touch $(BUILD_DIR)/__init__.py $(BUILD_DIR)/phase0/__init__.py
Empty file added build/__init__.py
Empty file.
Empty file added build/phase0/__init__.py
Empty file.
Loading

0 comments on commit 839590b

Please sign in to comment.