Compare commits

...
2 Commits
Author SHA1 Message Date
ct9.lxd 31caa5e6b3 full compilation + bootstrap 2020-11-12 17:58:16 +00:00
cagette@ct8 407405389d cagette-péi 2020-11-11 18:05:57 +04:00
7 changed files with 20 additions and 2 deletions
+1
View File
@@ -32,5 +32,6 @@ www/js/libs.js
www/css/.sass-cache www/css/.sass-cache
www/css/*.css www/css/*.css
!www/css/bootstrap.min.css
+2
View File
@@ -70,10 +70,12 @@ i18n:
#compile templates in each language, required for production env. #compile templates in each language, required for production env.
templates: templates:
haxe cagette.hxml -D i18n_generation haxe cagette.hxml -D i18n_generation
mkdir -p lang/master/tmp
@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 msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
chown www-data:www-data -R www
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)
+3
View File
@@ -6,6 +6,9 @@
-lib hscript:2.3.0 -lib hscript:2.3.0
-lib smtpmailer:0.4.0 -lib smtpmailer:0.4.0
-lib tink_json:0.9.0 -lib tink_json:0.9.0
-lib tink_io:0.5.0
-lib tink_streams:0.2.1
-lib sugoi:git:git@artcode.re:cagetters/sugoi.git -lib sugoi:git:git@artcode.re:cagetters/sugoi.git
-lib record-macros:git:git@artcode.re:cagetters/record-macros.git -lib record-macros:git:git@artcode.re:cagetters/record-macros.git
+5
View File
@@ -7,6 +7,11 @@
-lib react-router-4:0.2.3 -lib react-router-4:0.2.3
-lib modular:0.10.15 -lib modular:0.10.15
-lib tink_json:0.9.0 -lib tink_json:0.9.0
-lib tink_core:1.18.0
-lib tink_io:0.5.0
-lib tink_streams:0.2.1
-lib thx.core:0.43.0
-lib asys:0.3.0
-main App -main App
-debug -debug
-js www/js/app.js -js www/js/app.js
+1 -1
View File
@@ -17,7 +17,7 @@ class App extends sugoi.BaseApp {
*/ */
//public static var VERSION = ([0,9,2] : Version).withPre("july"); //public static var VERSION = ([0,9,2] : Version).withPre("july");
//public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitShortSHA(), MyMacros.getGitCommitDate()); //public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitShortSHA(), MyMacros.getGitCommitDate());
public static var VERSION = ([0,9,2] : Version).withPre(MyMacros.getGitCommitDate()); public static var VERSION = "cagette-péi " + MyMacros.getGitCommitDate();
public function new(){ public function new(){
super(); super();
+2 -1
View File
@@ -20,7 +20,8 @@ class MyMacros {
commitDate = StringTools.replace(commitDate, " ", "."); commitDate = StringTools.replace(commitDate, " ", ".");
commitDate = StringTools.replace(commitDate, "-", "."); commitDate = StringTools.replace(commitDate, "-", ".");
commitDate = StringTools.replace(commitDate, ":", "."); commitDate = StringTools.replace(commitDate, ":", ".");
commitDate = commitDate.substr(0,16); //commitDate = commitDate.substr(0,16);
commitDate = commitDate.substr(0,10);
// Generates a string expression // Generates a string expression
return macro $v{commitDate}; return macro $v{commitDate};
+6
View File
File diff suppressed because one or more lines are too long