Skip to content

Commit 77cf6bd

Browse files
authored
Merge pull request #611 from ilankri/project-template-fixes
Project template fixes
2 parents 1c7a09d + 3add37e commit 77cf6bd

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "ocsigen-start"
3-
version: "2.20.0"
3+
version: "2.21.0"
44
55
maintainer: "[email protected]"
66
synopsis: "An Eliom application skeleton ready to use to build your own application with users, (pre)registration, notifications, etc"

template.distillery/Makefile.i18n

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,10 @@ $(PROJECT_NAME)_%_i18n.eliom: $(I18N_TSV_DIR)$(PROJECT_NAME)_%_i18n.tsv
3838
i18n-check:
3939
$(I18N_CHECKER) ./*.eliom < $(I18N_TSV_FILE)
4040

41+
.PHONY: i18n-clean
42+
i18n-clean:
43+
-rm -f $(notdir $(patsubst %.tsv,%.eliom,$(I18N_PRIMARY_FILE) \
44+
$(I18N_EXTRA_FILES)))
45+
4146
## end of i18n
4247
##----------------------------------------------------------------------

template.distillery/Makefile.os

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ $(DEPSDIR):
341341
##----------------------------------------------------------------------
342342
## Clean up
343343

344-
clean:: clean-style mobile-clean
344+
clean:: clean-style mobile-clean i18n-clean
345345
-rm -f *.cm[ioax] *.cmxa *.cmxs *.o *.a *.annot
346346
-rm -f *.type_mli
347347
-rm -rf ${ELIOM_CLIENT_DIR} ${ELIOM_SERVER_DIR}

template.distillery/demo_i18n.eliom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ let%shared page () =
4141
; p [txt [%i18n Demo.S.internationalization_3]]
4242
; p
4343
[%i18n
44-
Demo.S.internationalization_4
44+
Demo.internationalization_4
4545
~f:[code [txt "assets/%%%PROJECT_NAME%%%_Demo_i18n.tsv"]]
4646
~demo_prefix:[code [txt "demo_"]]] ]

0 commit comments

Comments
 (0)