Skip to content

Commit

Permalink
Move build directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel59 committed Jul 21, 2020
1 parent c3bc6b8 commit a513f88
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 48 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
test/test_*
test/test.*
test/build
.vscode/*
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Shim your code to support Unicode across all platforms.

| Php | Python | Java | C# | Js/Node | Interp | Neko | HashLink | Lua | CPP |
| - | -| - | - | - | -| - | - | - | - |
|||||||||||
| PHP | Python | Java | C# | JS/Node | Interp | Neko | HashLink | Lua | C++ |
| - | - | - | - | - | - | - | - | - | - |
||| ||| ||| ||

## Usage

Expand Down Expand Up @@ -78,5 +78,4 @@ InternalEncoding.charAt("эюя", InternalEncoding.codePointWidthAt("эюя", 0)

## Target Notes

- Some targets will break, silently on some targets, when trying handle the Null character.
- The Lua target has not been tested.
- Some targets will break, silently on some targets, when trying handle the Null character.
4 changes: 2 additions & 2 deletions build.cpp.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-cpp test/test_cpp
-cmd test/test_cpp/Main
-cpp test/build/test_cpp
-cmd test/build/test_cpp/Main
4 changes: 2 additions & 2 deletions build.cs.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-cs test/test_cs
-cmd mono test/test_cs/bin/Main.exe
-cs test/build/test_cs
-cmd mono test/build/test_cs/bin/Main.exe
4 changes: 2 additions & 2 deletions build.hl.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-hl test/test.hl
-cmd hl test/test.hl
-hl test/build/test.hl
-cmd hl test/build/test.hl
4 changes: 2 additions & 2 deletions build.java.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
-main test.Main

#-D jvm
-java test/test_java
-cmd java -jar test/test_java/Main.jar
-java test/build/test_java
-cmd java -jar test/build/test_java/Main.jar
4 changes: 2 additions & 2 deletions build.js.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

-main test.Main

-js test/test.js
-cmd node test/test.js
-js test/build/test.js
-cmd node test/build/test.js
4 changes: 2 additions & 2 deletions build.jvm.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
-main test.Main

-D jvm
-java test/test_java
-cmd java -jar test/test_java/Main.jar
-java test/build/test_java
-cmd java -jar test/build/test_java/Main.jar
4 changes: 2 additions & 2 deletions build.lua.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-lua test/test.lua
-cmd lua test/test.lua
-lua test/build/test.lua
-cmd lua test/build/test.lua
4 changes: 2 additions & 2 deletions build.neko.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-neko test/test.n
-cmd neko test/test.n
-neko test/build/test.n
-cmd neko test/build/test.n
4 changes: 2 additions & 2 deletions build.php.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-php test/test_php
-cmd php test/test_php/index.php
-php test/build/test_php
-cmd php test/build/test_php/index.php
4 changes: 2 additions & 2 deletions build.python.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

-main test.Main

-python test/test.py
-cmd python test/test.py
-python test/build/test.py
-cmd python test/build/test.py
38 changes: 19 additions & 19 deletions compile-test.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,41 @@

--next

-neko test/test.n
-cmd neko test/test.n
-neko test/build/test.n
-cmd neko test/build/test.n

--next
-php test/test_php
-cmd php test/test_php/index.php
-php test/build/test_php
-cmd php test/build/test_php/index.php

--next
-js test/test.js
-cmd node test/test.js
-js test/build/test.js
-cmd node test/build/test.js

#--next
#-swf test/test.swf
#-swf test/build/test.swf

--next
-java test/test_java
-cmd java -jar test/test_java/Main.jar
-java test/build/test_java
-cmd java -jar test/build/test_java/Main.jar

--next
-java test/test_jvm
-java test/build/test_jvm
-D jvm
-cmd java -jar test/test_jvm/Main.jar
-cmd java -jar test/build/test_jvm/Main.jar

--next
-cpp test/test_cpp
-cmd test/test_cpp/Main
-cpp test/build/test_cpp
-cmd test/build/test_cpp/Main

--next
-cs test/test_cs
-cmd mono test/test_cs/bin/Main.exe
-cs test/build/test_cs
-cmd mono test/build/test_cs/bin/Main.exe

--next
-python test/test.py
-cmd python test/test.py
-python test/build/test.py
-cmd python test/build/test.py

--next
-lua test/test.lua
-cmd lua test/test.lua
-lua test/build/test.lua
-cmd lua test/build/test.lua
4 changes: 2 additions & 2 deletions run-test-on-docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dir="$(dirname "$(readlink -f "$0")")"

docker build -t mandel59/unifill-test-runner -f unifill-test-runner.dockerfile .
mkdir -p "$dir/test"
docker run --volume "$dir/test:/opt/unifill/test" mandel59/unifill-test-runner lix compile-test.hxml
mkdir -p "$dir/test/build"
docker run --volume "$dir/test/build:/opt/unifill/test/build" mandel59/unifill-test-runner lix compile-test.hxml

0 comments on commit a513f88

Please sign in to comment.