Compare commits

..
4 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
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "gulp-haxetool", "name": "gulp-haxetool",
"version": "2.0.1", "version": "2.0.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "gulp-haxetool", "name": "gulp-haxetool",
"version": "2.0.1", "version": "2.0.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ajv": "^8.20.0", "ajv": "^8.20.0",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "gulp-haxetool", "name": "gulp-haxetool",
"type": "module", "type": "module",
"version": "2.0.1", "version": "2.0.3",
"description": "HaXe Tool with Gulp", "description": "HaXe Tool with Gulp",
"exports": { "exports": {
"./bin/cli": "./dist/bin/cli.mjs", "./bin/cli": "./dist/bin/cli.mjs",
+1 -1
View File
@@ -9,5 +9,5 @@ export default new Eta({
autoFilter: true, autoFilter: true,
filterFunction: (val: unknown): string => (val === null || val === undefined ? "" : String(val)), filterFunction: (val: unknown): string => (val === null || val === undefined ? "" : String(val)),
useWith: true, 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() { prepare() {
return Promise.all([this.neko.prepare(), super.prepare()]).then(() => { return Promise.all([this.neko.prepare(), super.prepare()]).then(() => {
fs.copyFileSync( fs.copyFileSync(
path.resolve(import.meta.dirname, "..", "template/haxe/activate"), path.resolve(import.meta.dirname, "template/haxe/activate"),
path.resolve(this.path, "activate"), path.resolve(this.path, "activate"),
); );
}); });
+1 -1
View File
@@ -73,7 +73,7 @@ export class Neko extends Sdk {
prepare() { prepare() {
return Promise.all([super.prepare()]).then(() => { return Promise.all([super.prepare()]).then(() => {
fs.copyFileSync( fs.copyFileSync(
path.resolve(import.meta.dirname, "..", "template/neko/activate"), path.resolve(import.meta.dirname, "template/neko/activate"),
path.resolve(this.path, "activate"), path.resolve(this.path, "activate"),
); );
}); });
+1 -1
View File
@@ -15,7 +15,7 @@ export class FlashHTMLPacker extends Packer {
const target = this.targetPath; const target = this.targetPath;
const index = template.render("flash/index.html", this.config); const index = template.render("flash/index.html", this.config);
fs.writeFileSync(path.resolve(target, "index.html"), index); 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(); return Promise.resolve();
} }
} }