Skip to content

Commit c1d76b4

Browse files
author
Cédric Belin
committed
Move the resources to the "res" folder
1 parent b2c0c18 commit c1d76b4

File tree

5 files changed

+3
-14
lines changed

5 files changed

+3
-14
lines changed
File renamed without changes.

share/build.hxml

Lines changed: 0 additions & 11 deletions
This file was deleted.

test/php_minifier/FastTransformerTest.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using StringTools;
3131
@:variant("__construct() { $this->property")
3232
public function transform(output: String) {
3333
final transformer = new FastTransformer();
34-
transformer.transform("share/sample.php")
34+
transformer.transform("res/sample.php")
3535
.next(script -> transformer.close().next(_ -> asserts.assert(script.contains(output))))
3636
.handle(asserts.handle);
3737

test/php_minifier/GulpPluginTest.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ using StringTools;
1515
@:variant(Fast)
1616
@:variant(Safe)
1717
public function transform(input: TransformMode) {
18-
final file = new File({path: FileSystem.absolutePath("share/sample.php")});
18+
final file = new File({path: FileSystem.absolutePath("res/sample.php")});
1919
final plugin = new GulpPlugin({mode: input, silent: true});
2020
@:privateAccess plugin._transform(file, "utf8", (error, chunk) -> {
2121
plugin.emit("end");

test/php_minifier/SafeTransformerTest.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using StringTools;
2222
@:variant("__construct() { $this->property")
2323
public function transform(output: String) {
2424
final transformer = new SafeTransformer();
25-
transformer.transform("share/sample.php")
25+
transformer.transform("res/sample.php")
2626
.next(script -> transformer.close().next(_ -> asserts.assert(script.contains(output))))
2727
.handle(asserts.handle);
2828

0 commit comments

Comments
 (0)