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

Fix build errors #34

Closed
wants to merge 14 commits into from
4 changes: 3 additions & 1 deletion .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
with:
submodules: recursive
- name: install tools
run: gem install --user-install cbor-diag cddl
run: |
gem install --user-install cbor-diag
gem install --user-install cddl -v 0.10.6
- name: set up PATH
run: echo "$(gem env gempath | cut -d':' -f1)/bin" >> $GITHUB_PATH
- name: assemble and test
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*-autogen.cddl
draft-ietf-rats-corim
Gemfile.lock
.ruby-version
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
path = draft-ietf-rats-corim
url = https://github.com/ietf-rats-wg/draft-ietf-rats-corim
branch = main
update = rebase
update = merge
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'json_pure'
gem 'cddl', [ '>=0.10.6' ]
gem 'cbor-diag', '=0.8.1'
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

SHELL := /bin/bash

CORIM_DIR := draft-ietf-rats-corim/cddl/
CORIM_DIR := draft-ietf-rats-corim/
CORIM_FRAGS_DIR := draft-ietf-rats-corim/cddl/
CE_DIR := ./

include $(CORIM_DIR)corim-frags.mk
CORIM_DEPS := $(addprefix $(CORIM_DIR), $(CORIM_FRAGS))
include $(CORIM_FRAGS_DIR)corim-frags.mk
CORIM_DEPS := $(addprefix $(CORIM_FRAGS_DIR), $(CORIM_FRAGS))

include tools.mk
include funcs.mk
Expand Down
Loading