Skip to content

Commit

Permalink
Move the resources to the "res" folder
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Nov 4, 2024
1 parent b2c0c18 commit c1d76b4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
File renamed without changes.
11 changes: 0 additions & 11 deletions share/build.hxml

This file was deleted.

2 changes: 1 addition & 1 deletion test/php_minifier/FastTransformerTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ using StringTools;
@:variant("__construct() { $this->property")
public function transform(output: String) {
final transformer = new FastTransformer();
transformer.transform("share/sample.php")
transformer.transform("res/sample.php")
.next(script -> transformer.close().next(_ -> asserts.assert(script.contains(output))))
.handle(asserts.handle);

Expand Down
2 changes: 1 addition & 1 deletion test/php_minifier/GulpPluginTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using StringTools;
@:variant(Fast)
@:variant(Safe)
public function transform(input: TransformMode) {
final file = new File({path: FileSystem.absolutePath("share/sample.php")});
final file = new File({path: FileSystem.absolutePath("res/sample.php")});
final plugin = new GulpPlugin({mode: input, silent: true});
@:privateAccess plugin._transform(file, "utf8", (error, chunk) -> {
plugin.emit("end");
Expand Down
2 changes: 1 addition & 1 deletion test/php_minifier/SafeTransformerTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using StringTools;
@:variant("__construct() { $this->property")
public function transform(output: String) {
final transformer = new SafeTransformer();
transformer.transform("share/sample.php")
transformer.transform("res/sample.php")
.next(script -> transformer.close().next(_ -> asserts.assert(script.contains(output))))
.handle(asserts.handle);

Expand Down

0 comments on commit c1d76b4

Please sign in to comment.