Makefile
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
*.php
|
||||
config.xml
|
||||
www/plugin/*
|
||||
Makefile
|
||||
tmp/*
|
||||
*node_modules*
|
||||
*.map
|
||||
|
||||
@@ -15,7 +15,7 @@ install:
|
||||
#setup dev environnement from source
|
||||
install_dev:
|
||||
#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
|
||||
haxelib newrepo
|
||||
haxelib -always install cagette.hxml
|
||||
@@ -71,11 +71,13 @@ i18n:
|
||||
templates:
|
||||
haxe cagette.hxml -D i18n_generation
|
||||
@make LANG=fr ctemplates
|
||||
@make LANG=en ctemplates
|
||||
@make LANG=de ctemplates
|
||||
#@make LANG=en ctemplates
|
||||
#@make LANG=de ctemplates
|
||||
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
|
||||
|
||||
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
|
||||
tests:
|
||||
Reference in New Issue
Block a user