whet 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/whet/Stone.d.ts +2 -2
- package/bin/whet/Stone.js +0 -1
- package/bin/whet/Whet.js +1 -1
- package/bin/whet/stones/Files.d.ts +2 -2
- package/bin/whet/stones/JsonStone.d.ts +2 -2
- package/bin/whet/stones/RemoteFile.d.ts +2 -2
- package/bin/whet/stones/Server.d.ts +2 -2
- package/bin/whet/stones/Zip.d.ts +2 -2
- package/bin/whet/stones/haxe/HaxeBuild.d.ts +2 -2
- package/bin/whet/stones/haxe/Hxml.d.ts +2 -2
- package/package.json +1 -1
package/bin/whet/Stone.d.ts
CHANGED
|
@@ -99,10 +99,10 @@ export declare class Stone<T extends StoneConfig> {
|
|
|
99
99
|
export type StoneConfig = {
|
|
100
100
|
cacheStrategy?: null | CacheStrategy,
|
|
101
101
|
/**
|
|
102
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
102
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
103
103
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
104
104
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
105
|
-
* can rely on fixed path.
|
|
105
|
+
* can rely on a fixed path.
|
|
106
106
|
* Will make sure the cached file is up to date when generating this stone.
|
|
107
107
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
108
108
|
* need to add it manually.
|
package/bin/whet/Stone.js
CHANGED
|
@@ -95,7 +95,6 @@ class Stone extends Register.inherits() {
|
|
|
95
95
|
generateSource(hash) {
|
|
96
96
|
var _gthis = this;
|
|
97
97
|
Log.log(20, ...["Generating source.", {"stone": this, "hash": hash}]);
|
|
98
|
-
console.log("src/whet/Stone.hx:74:",this.config.dependencies);
|
|
99
98
|
var init;
|
|
100
99
|
if (this.config.dependencies != null) {
|
|
101
100
|
var _g = [];
|
package/bin/whet/Whet.js
CHANGED
|
@@ -10,7 +10,7 @@ const $global = Register.$global
|
|
|
10
10
|
export const Whet_Fields_ = Register.global("$hxClasses")["whet._Whet.Whet_Fields_"] =
|
|
11
11
|
class Whet_Fields_ {
|
|
12
12
|
static main() {
|
|
13
|
-
Whet_Fields_.program.enablePositionalOptions().passThroughOptions().description("Project tooling.").usage("[options] [command] [+ [command]...]").version("0.0.
|
|
13
|
+
Whet_Fields_.program.enablePositionalOptions().passThroughOptions().description("Project tooling.").usage("[options] [command] [+ [command]...]").version("0.0.12", "-v, --version").allowUnknownOption(true).showSuggestionAfterError(true).option("-p, --project <file>", "project to run", "Project.mjs").option("-l, --log-level <level>", "log level, a string/number", "info");
|
|
14
14
|
Whet_Fields_.program.parse();
|
|
15
15
|
var options = Whet_Fields_.program.opts();
|
|
16
16
|
if (options.logLevel != null) {
|
|
@@ -15,10 +15,10 @@ export declare class Files extends Stone<FilesConfig> {
|
|
|
15
15
|
export type FilesConfig = {
|
|
16
16
|
cacheStrategy?: null | CacheStrategy,
|
|
17
17
|
/**
|
|
18
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
18
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
19
19
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
20
20
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
21
|
-
* can rely on fixed path.
|
|
21
|
+
* can rely on a fixed path.
|
|
22
22
|
* Will make sure the cached file is up to date when generating this stone.
|
|
23
23
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
24
24
|
* need to add it manually.
|
|
@@ -21,10 +21,10 @@ export declare class JsonStone extends Stone<JsonStoneConfig> {
|
|
|
21
21
|
export type JsonStoneConfig = {
|
|
22
22
|
cacheStrategy?: null | CacheStrategy,
|
|
23
23
|
/**
|
|
24
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
24
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
25
25
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
26
26
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
27
|
-
* can rely on fixed path.
|
|
27
|
+
* can rely on a fixed path.
|
|
28
28
|
* Will make sure the cached file is up to date when generating this stone.
|
|
29
29
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
30
30
|
* need to add it manually.
|
|
@@ -18,10 +18,10 @@ export declare class RemoteFile extends Stone<RemoteFileConfig> {
|
|
|
18
18
|
export type RemoteFileConfig = {
|
|
19
19
|
cacheStrategy?: null | CacheStrategy,
|
|
20
20
|
/**
|
|
21
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
21
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
22
22
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
23
23
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
24
|
-
* can rely on fixed path.
|
|
24
|
+
* can rely on a fixed path.
|
|
25
25
|
* Will make sure the cached file is up to date when generating this stone.
|
|
26
26
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
27
27
|
* need to add it manually.
|
|
@@ -27,10 +27,10 @@ export declare class Server extends Stone<ServerConfig> {
|
|
|
27
27
|
export type ServerConfig = {
|
|
28
28
|
cacheStrategy?: null | CacheStrategy,
|
|
29
29
|
/**
|
|
30
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
30
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
31
31
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
32
32
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
33
|
-
* can rely on fixed path.
|
|
33
|
+
* can rely on a fixed path.
|
|
34
34
|
* Will make sure the cached file is up to date when generating this stone.
|
|
35
35
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
36
36
|
* need to add it manually.
|
package/bin/whet/stones/Zip.d.ts
CHANGED
|
@@ -18,10 +18,10 @@ export declare class ZipStone extends Stone<ZipConfig> {
|
|
|
18
18
|
export type ZipConfig = {
|
|
19
19
|
cacheStrategy?: null | CacheStrategy,
|
|
20
20
|
/**
|
|
21
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
21
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
22
22
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
23
23
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
24
|
-
* can rely on fixed path.
|
|
24
|
+
* can rely on a fixed path.
|
|
25
25
|
* Will make sure the cached file is up to date when generating this stone.
|
|
26
26
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
27
27
|
* need to add it manually.
|
|
@@ -24,10 +24,10 @@ export declare class HaxeBuild extends Stone<BuildConfig> {
|
|
|
24
24
|
export type BuildConfig = {
|
|
25
25
|
cacheStrategy?: null | CacheStrategy,
|
|
26
26
|
/**
|
|
27
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
27
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
28
28
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
29
29
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
30
|
-
* can rely on fixed path.
|
|
30
|
+
* can rely on a fixed path.
|
|
31
31
|
* Will make sure the cached file is up to date when generating this stone.
|
|
32
32
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
33
33
|
* need to add it manually.
|
|
@@ -35,10 +35,10 @@ export type HxmlConfig = {
|
|
|
35
35
|
debug?: null | boolean,
|
|
36
36
|
defines?: null | MaybeArray<string>,
|
|
37
37
|
/**
|
|
38
|
-
* Registers another stone as dependency of this one. Useful for external processes
|
|
38
|
+
* Registers another stone(s) as dependency of this one. Useful for external processes
|
|
39
39
|
* that use a source of some stone, but don't go via Whet to get it.
|
|
40
40
|
* Use with combination of `setAbsolutePath` on the dependency, so that the external process
|
|
41
|
-
* can rely on fixed path.
|
|
41
|
+
* can rely on a fixed path.
|
|
42
42
|
* Will make sure the cached file is up to date when generating this stone.
|
|
43
43
|
* Hash of the dependency is automatically combined with hash generated by this stone. There's no
|
|
44
44
|
* need to add it manually.
|