Skip to content
This repository has been archived by the owner on Jan 21, 2019. It is now read-only.

Commit

Permalink
Move xml_gen tool to its own separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mremond committed Oct 16, 2015
1 parent 403066e commit b13065a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -11,4 +11,5 @@ priv/
_build
vars.config
rebar
deps/
deps/
tools/*.beam
4 changes: 4 additions & 0 deletions Makefile
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
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.

0 comments on commit b13065a

Please sign in to comment.