Makefile
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
*.php
|
*.php
|
||||||
config.xml
|
config.xml
|
||||||
www/plugin/*
|
www/plugin/*
|
||||||
Makefile
|
|
||||||
tmp/*
|
tmp/*
|
||||||
*node_modules*
|
*node_modules*
|
||||||
*.map
|
*.map
|
||||||
|
|||||||
@@ -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:
|
||||||
Reference in New Issue
Block a user