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

BC2A-1408: Fix hardcoded path for dynamically generated c file #6

Closed
wants to merge 2 commits into from
Closed
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 .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Install dependencies
run: apt update && apt install -qy openjdk-11-jdk-headless git
run: apt update && apt install -qy openjdk-17-jdk-headless git

- name: Download app binary
uses: actions/download-artifact@v2
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,14 @@ else
DEFINES += PRINTF\(...\)=
endif

AUTOGEN_SRC := src/txnTypeLists.c
AUTOGEN_OBJ := $(AUTOGEN_SRC:src/%.c=obj/%.o)
AUTOGEN_SRC := $(PWD)/src/txnTypeLists.c

SOURCE_FILES += $(AUTOGEN_SRC)

.PHONY: realclean clean

all: default

$(AUTOGEN_OBJ): src/authAndSignTxn.c $(AUTOGEN_SRC)

$(AUTOGEN_SRC): createTxnTypes.py txtypes.txt
python ./createTxnTypes.py > $@

Expand Down
Loading