Skip to content
This repository was archived by the owner on Jan 21, 2019. It is now read-only.
Open
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ priv/
_build
vars.config
rebar
deps/
deps/
tools/*.beam
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ test: all
check-syntax:
gcc -o nul -S ${CHK_SOURCES}

xmlrpc-codec:
erlc -o tools -I include tools/xml_gen.erl
erl -noinput +B -pa tools -eval 'case xml_gen:compile("tools/xmlrpc_codec.spec") of ok -> halt(0); _ -> halt(1) end.'

.PHONY: clean src test all
2 changes: 1 addition & 1 deletion spec/README.md → tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ This file is used to generate `src/xmlrpc_codec.erl`.
From repository root, you can regenerate the file with:

erl -noinput +B -pa ebin -pa deps/*/ebin -eval \
'case xml_gen:compile("spec/xmlrpc_codec.spec") of ok -> halt(0); _ -> halt(1) end.'
'case xml_gen:compile("tools/xmlrpc_codec.spec") of ok -> halt(0); _ -> halt(1) end.'
File renamed without changes.
File renamed without changes.
File renamed without changes.