Skip to content

Commit

Permalink
Change icuformat to formatmsg & update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedsiam0 committed Sep 3, 2023
1 parent 126c1f9 commit dcf824c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: ./configure --disable-static --enable-python-bindings
- name: build
run: make -j4 V=1 VERBOSE=1
- name: tests
run: make test
- name: make install
run: sudo make install
- name: tests
run: make test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
/lttoolbox/lt-invert
/lttoolbox/lt-restrict
/lttoolbox/lt-apply-acx
/lttoolbox/icuformat
/lttoolbox/formatmsg
/python/Makefile
/python/Makefile.in
/python/lttoolbox.i
Expand Down
4 changes: 2 additions & 2 deletions lttoolbox/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cc_sources = acx.cc alphabet.cc att_compiler.cc cli.cc compiler.cc compression.c
library_includedir = $(includedir)/$(PACKAGE_NAME)
library_include_HEADERS = $(h_sources)

bin_PROGRAMS = lt-comp lt-proc lt-expand lt-paradigm lt-tmxcomp lt-tmxproc lt-print lt-trim lt-compose lt-append lsx-comp lt-invert lt-restrict lt-apply-acx icuformat
bin_PROGRAMS = lt-comp lt-proc lt-expand lt-paradigm lt-tmxcomp lt-tmxproc lt-print lt-trim lt-compose lt-append lsx-comp lt-invert lt-restrict lt-apply-acx formatmsg
instdir = lttoolbox

lib_LTLIBRARIES= liblttoolbox.la
Expand Down Expand Up @@ -46,7 +46,7 @@ lsx_comp_SOURCES = lt_comp.cc
lt_invert_SOURCES = lt_invert.cc
lt_restrict_SOURCES = lt_restrict.cc
lt_apply_acx_SOURCES = lt_apply_acx.cc
icuformat_SOURCES = icuformat.cc
formatmsg_SOURCES = formatmsg.cc

#lt-validate-dictionary: Makefile.am validate-header.sh
# @echo "Creating lt-validate-dictionary script"
Expand Down
4 changes: 2 additions & 2 deletions lttoolbox/icuformat.cc → lttoolbox/formatmsg.cc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include <iostream>
#include "lttoolbox/i18n.h"
#include <lttoolbox/i18n.h>

int main(int argc, char* argv[])
{
if (argc < 4 || argc % 2 != 0) {
std::cout << "USAGE: icuformat <data-path> <package-name> <key> <arg-names> <arg-values>\n";
std::cout << "USAGE: formatmsg <data-path> <package-name> <key> <arg-names> <arg-values>\n";
return 0;
}

Expand Down

0 comments on commit dcf824c

Please sign in to comment.