[DEV-7136] Add xmli files

Add a new step to the build process that copies the `xml` file to an
`xmli` file. Eventually, the new compiler will create the `xmli` file
and the old compiler will convert it to an `amle` file during the
transition.
master
Joseph Frazer 2020-04-07 14:29:12 -04:00
parent 587241bf9b
commit f6bf042505
2 changed files with 7 additions and 1 deletions

View File

@ -113,8 +113,12 @@ common: $(xmlo_common)
program-ui: ui/package.strip.js ui/Program.js ui/html/index.phtml
# Handle an intermediate step as we transition to the new compiler
%.xmli: %.xml
cp $< $@
# Individual dependencies appear in suppliers.mk (see below)
%.xmlo: %.xml $(path_tame)/.rev-xmlo
%.xmlo: %.xmli $(path_tame)/.rev-xmlo
$(TAME_TS)
$(TAME) compile $< $@
@ -207,6 +211,7 @@ clean:
find -L $(path_suppliers) $(path_map) $(path_c1map) common/ rater/core rater/lv \( \
-name '*.xmlo' \
-o -name '*.xmle' \
-o -name '*.xmli' \
-o -name '*.js' \
-o -name '*.html' \
-o -name '*.dep' \

1
core/.gitignore vendored
View File

@ -1,5 +1,6 @@
# when core is built
*.xmlo
*.xmli
*.xmle
*.js
*.dep