Skip to content

Commit

Permalink
updating lib to be consistent with other thx
Browse files Browse the repository at this point in the history
  • Loading branch information
fponticelli committed Oct 17, 2014
1 parent efda6fa commit 981c280
Show file tree
Hide file tree
Showing 19 changed files with 150 additions and 23 deletions.
17 changes: 4 additions & 13 deletions .gitignore
@@ -1,14 +1,5 @@

thx.culture.sublime-workspace

src/thx/culture/.DS_Store

src/thx/culture/cultures/.DS_Store

src/thx/culture/languages/.DS_Store

bin
doc/pages
doc/xml
.DS_Store

thx-culture.sublime-project

thx-culture.sublime-workspace
*.sublime-*
3 changes: 1 addition & 2 deletions README.md
@@ -1,4 +1,3 @@
thx.culture
===========
# thx.culture

Localization library for Haxe.
Binary file modified bin/thx.culture.n
Binary file not shown.
9 changes: 9 additions & 0 deletions doc/ImportCulture.hx
@@ -0,0 +1,9 @@
import thx.culture.Culture;
import thx.culture.DateTime;
import thx.culture.Domain;
import thx.culture.Format;
import thx.culture.FormatDate;
import thx.culture.FormatNumber;
import thx.culture.FormatParams;
import thx.culture.Language;
import thx.culture.Number;
48 changes: 48 additions & 0 deletions doc/build_doc.hxml
@@ -0,0 +1,48 @@
-cp ../src
--no-output
-D doc-gen
-D display
-D dox
-dce no
-lib thx.core
ImportCulture

--each
-xml xml/js.xml
-js _

--next
-xml xml/swf.xml
-swf-version 11.4
-swf _

--next
-xml xml/neko.xml
-neko _

--next
-xml xml/php.xml
-php _

--next
-xml xml/cpp.xml
-cpp _
-D xmldoc

--next
-xml xml/java.xml
-java _
-D xmldoc

--next
-xml xml/cs.xml
-cs _
-D xmldoc

#--next
#-xml xml/python.xml
#-python _
#-D xmldoc

#--next
#-xml xml/cross.xml
5 changes: 5 additions & 0 deletions doc/doc.hxml
@@ -0,0 +1,5 @@
-cmd rm -rf xml/*
-cmd haxe build_doc.hxml
-cmd rm -rf pages
-cmd haxelib run dox -r / -o pages -i xml --title "thx.culture" -in thx
-cmd static pages
2 changes: 2 additions & 0 deletions extraParams.hxml
@@ -0,0 +1,2 @@
-D thx_color
-lib thx.core
14 changes: 14 additions & 0 deletions haxelib.json
@@ -0,0 +1,14 @@
{
"name": "thx.culture",
"url": "https://github.com/fponticelli/thx.culture",
"license": "MIT",
"classPath": "src",
"tags": ["localization", "thx", "cross"],
"description": "Localization library.",
"releasenote": "updated release",
"version": "0.2.0",
"contributors": ["fponticelli"],
"dependencies": {
"thx.core": ""
}
}
8 changes: 8 additions & 0 deletions hxml/cpp.hxml
@@ -0,0 +1,8 @@
-cp src
-cp test
-lib utest
-lib thx.core
-lib hxcpp
-cpp bin/cpp
-main TestAll
-D thx-culture
8 changes: 8 additions & 0 deletions hxml/cs.hxml
@@ -0,0 +1,8 @@
-cp src
-cp test
-lib utest
-lib thx.core
-lib hxcs
-cs bin/cs
-main TestAll
-D thx-culture
9 changes: 9 additions & 0 deletions hxml/flash.hxml
@@ -0,0 +1,9 @@
-cp src
-cp test
-lib utest
-lib thx.core
-swf bin/flash.swf
-main TestAll
-D thx-culture
-debug
-D fdb
9 changes: 9 additions & 0 deletions hxml/java.hxml
@@ -0,0 +1,9 @@
-cp src
-cp test
-lib utest
-lib thx.core
-lib hxjava
-java bin/java
-main TestAll
-D thx-culture
-debug
7 changes: 7 additions & 0 deletions hxml/js.hxml
@@ -0,0 +1,7 @@
-cp src
-cp test
-lib utest
-lib thx.core
-js bin/js.js
-main TestAll
-D thx-culture
7 changes: 7 additions & 0 deletions hxml/neko.hxml
@@ -0,0 +1,7 @@
-cp src
-cp test
-lib utest
-lib thx.core
-neko bin/neko.n
-main TestAll
-D thx-culture
7 changes: 7 additions & 0 deletions hxml/php.hxml
@@ -0,0 +1,7 @@
-cp src
-cp test
-lib utest
-lib thx.core
-php bin/php
-main TestAll
-D thx-culture
7 changes: 7 additions & 0 deletions hxml/python.hxml
@@ -0,0 +1,7 @@
-cp src
-cp test
-lib utest
-lib thx.core
-python bin/python.py
-main TestAll
-D thx-culture
7 changes: 0 additions & 7 deletions src/haxelib.xml

This file was deleted.

4 changes: 4 additions & 0 deletions submit.sh
@@ -0,0 +1,4 @@
#!/bin/sh
rm thx.culture.zip
zip -r thx.culture.zip hxml src test doc/ImportCulture.hx extraParams.hxml haxelib.json README.md test test.hxml
haxelib submit thx.culture.zip
2 changes: 1 addition & 1 deletion test.hxml
Expand Up @@ -2,7 +2,7 @@
-cp src
-cp test
-lib utest
-lib thx-core
-lib thx.core
-main TestAll
#-cmd clear
-cmd neko bin/thx.culture.n

0 comments on commit 981c280

Please sign in to comment.