|
|
@@ -15,7 +15,7 @@ install:
|
|
|
|
#setup dev environnement from source
|
|
|
|
#setup dev environnement from source
|
|
|
|
install_dev:
|
|
|
|
install_dev:
|
|
|
|
#set config file to debug=1
|
|
|
|
#set config file to debug=1
|
|
|
|
@sed -e 's?debug=.*?debug="1"?g' --in-place config.xml
|
|
|
|
#@sed -e 's?debug=.*?debug="1"?g' --in-place config.xml
|
|
|
|
#install haxe dependencies in .haxelib
|
|
|
|
#install haxe dependencies in .haxelib
|
|
|
|
haxelib newrepo
|
|
|
|
haxelib newrepo
|
|
|
|
haxelib -always install cagette.hxml
|
|
|
|
haxelib -always install cagette.hxml
|
|
|
@@ -71,11 +71,13 @@ i18n:
|
|
|
|
templates:
|
|
|
|
templates:
|
|
|
|
haxe cagette.hxml -D i18n_generation
|
|
|
|
haxe cagette.hxml -D i18n_generation
|
|
|
|
@make LANG=fr ctemplates
|
|
|
|
@make LANG=fr ctemplates
|
|
|
|
@make LANG=en ctemplates
|
|
|
|
#@make LANG=en ctemplates
|
|
|
|
@make LANG=de ctemplates
|
|
|
|
#@make LANG=de ctemplates
|
|
|
|
|
|
|
|
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
|
|
|
|
|
|
|
|
|
|
|
|
ctemplates:
|
|
|
|
ctemplates:
|
|
|
|
(cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt */*/*/*.mtt */*/*/*/*.mtt)
|
|
|
|
# (cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt */*/*/*.mtt */*/*/*/*.mtt)
|
|
|
|
|
|
|
|
(cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt)
|
|
|
|
|
|
|
|
|
|
|
|
#Compile and run unit tests
|
|
|
|
#Compile and run unit tests
|
|
|
|
tests:
|
|
|
|
tests:
|