...

Text file src/github.com/chai2010/gettext-go/examples/Makefile

Documentation: github.com/chai2010/gettext-go/examples

     1# Copyright 2013 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved.
     2# Use of this source code is governed by a BSD-style
     3# license that can be found in the LICENSE file.
     4
     5default:
     6	msgfmt -o locale/default/LC_MESSAGES/hello.mo locale/default/LC_MESSAGES/hello.po
     7	msgfmt -o locale/zh_CN/LC_MESSAGES/hello.mo   locale/zh_CN/LC_MESSAGES/hello.po
     8	msgfmt -o locale/zh_TW/LC_MESSAGES/hello.mo   locale/zh_TW/LC_MESSAGES/hello.po
     9	7z a -tzip -scsUTF-8 locale.zip locale
    10	go run hello.go
    11
    12clean:
    13	rm locale.zip

View as plain text