Compare commits

...
7 Commits
Author SHA1 Message Date
shmyga 57f7e88fab ci(version): 2.0.3
release / release (push) Failing after 5m30s
test / test (push) Failing after 5m39s
2026-11-01 14:17:06 +03:00
shmyga 7f62df2364 fix: fix template dir 2026-11-01 14:16:58 +03:00
shmyga 6622d53167 ci(version): 2.0.2
release / release (push) Failing after 5m40s
test / test (push) Failing after 5m39s
2026-11-01 13:59:34 +03:00
shmyga 561dd99cba fix: fix template basepath 2026-11-01 13:59:24 +03:00
shmyga bc77380aba ci(version): 2.0.1
release / release (push) Failing after 5m29s
test / test (push) Failing after 5m51s
2026-10-31 22:31:25 +03:00
shmyga a20e98d730 fix(asset): fix asset basepath 2026-10-31 22:31:13 +03:00
shmyga 87fe852f99 ci(version): 2.0.0
release / release (push) Successful in 36s
test / test (push) Successful in 35s
2026-10-31 15:54:13 +03:00
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ Tool for simple building and pack HaXe and OpenFl project
"dev": "hxt app:flash:test"
},
"devDependencies": {
"gulp-haxetool": "^1.2.0"
"gulp-haxetool": "^2.0.0"
}
}
```
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "gulp-haxetool",
"version": "1.2.0",
"version": "2.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "gulp-haxetool",
"version": "1.2.0",
"version": "2.0.3",
"license": "MIT",
"dependencies": {
"ajv": "^8.20.0",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "gulp-haxetool",
"type": "module",
"version": "1.2.0",
"version": "2.0.3",
"description": "HaXe Tool with Gulp",
"exports": {
"./bin/cli": "./dist/bin/cli.mjs",
+1 -1
View File
@@ -5,5 +5,5 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
export default (name: string): string => {
return path.join(__dirname, "..", "assets", name);
return path.join(__dirname, "assets", name);
};
+1 -1
View File
@@ -9,5 +9,5 @@ export default new Eta({
autoFilter: true,
filterFunction: (val: unknown): string => (val === null || val === undefined ? "" : String(val)),
useWith: true,
views: path.join(__dirname, "..", "template"),
views: path.join(__dirname, "template"),
});
+1 -1
View File
@@ -81,7 +81,7 @@ export class Haxe extends Sdk {
prepare() {
return Promise.all([this.neko.prepare(), super.prepare()]).then(() => {
fs.copyFileSync(
path.resolve(import.meta.dirname, "..", "template/haxe/activate"),
path.resolve(import.meta.dirname, "template/haxe/activate"),
path.resolve(this.path, "activate"),
);
});
+1 -1
View File
@@ -73,7 +73,7 @@ export class Neko extends Sdk {
prepare() {
return Promise.all([super.prepare()]).then(() => {
fs.copyFileSync(
path.resolve(import.meta.dirname, "..", "template/neko/activate"),
path.resolve(import.meta.dirname, "template/neko/activate"),
path.resolve(this.path, "activate"),
);
});
+1 -1
View File
@@ -15,7 +15,7 @@ export class FlashHTMLPacker extends Packer {
const target = this.targetPath;
const index = template.render("flash/index.html", this.config);
fs.writeFileSync(path.resolve(target, "index.html"), index);
fs.copyFileSync(path.resolve(import.meta.dirname, "..", "template/flash/swf.js"), path.resolve(target, "swf.js"));
fs.copyFileSync(path.resolve(import.meta.dirname, "template/flash/swf.js"), path.resolve(target, "swf.js"));
return Promise.resolve();
}
}