First development of the deploy action (#6)
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Deploy js code to an instance of screeps. Some debugging tools are implemented. Reviewed-on: #6 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
27
node_modules/yamljs/lib/Exception/DumpException.js
generated
vendored
Normal file
27
node_modules/yamljs/lib/Exception/DumpException.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
// Generated by CoffeeScript 1.12.4
|
||||
var DumpException,
|
||||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
||||
hasProp = {}.hasOwnProperty;
|
||||
|
||||
DumpException = (function(superClass) {
|
||||
extend(DumpException, superClass);
|
||||
|
||||
function DumpException(message, parsedLine, snippet) {
|
||||
this.message = message;
|
||||
this.parsedLine = parsedLine;
|
||||
this.snippet = snippet;
|
||||
}
|
||||
|
||||
DumpException.prototype.toString = function() {
|
||||
if ((this.parsedLine != null) && (this.snippet != null)) {
|
||||
return '<DumpException> ' + this.message + ' (line ' + this.parsedLine + ': \'' + this.snippet + '\')';
|
||||
} else {
|
||||
return '<DumpException> ' + this.message;
|
||||
}
|
||||
};
|
||||
|
||||
return DumpException;
|
||||
|
||||
})(Error);
|
||||
|
||||
module.exports = DumpException;
|
27
node_modules/yamljs/lib/Exception/ParseException.js
generated
vendored
Normal file
27
node_modules/yamljs/lib/Exception/ParseException.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
// Generated by CoffeeScript 1.12.4
|
||||
var ParseException,
|
||||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
||||
hasProp = {}.hasOwnProperty;
|
||||
|
||||
ParseException = (function(superClass) {
|
||||
extend(ParseException, superClass);
|
||||
|
||||
function ParseException(message, parsedLine, snippet) {
|
||||
this.message = message;
|
||||
this.parsedLine = parsedLine;
|
||||
this.snippet = snippet;
|
||||
}
|
||||
|
||||
ParseException.prototype.toString = function() {
|
||||
if ((this.parsedLine != null) && (this.snippet != null)) {
|
||||
return '<ParseException> ' + this.message + ' (line ' + this.parsedLine + ': \'' + this.snippet + '\')';
|
||||
} else {
|
||||
return '<ParseException> ' + this.message;
|
||||
}
|
||||
};
|
||||
|
||||
return ParseException;
|
||||
|
||||
})(Error);
|
||||
|
||||
module.exports = ParseException;
|
27
node_modules/yamljs/lib/Exception/ParseMore.js
generated
vendored
Normal file
27
node_modules/yamljs/lib/Exception/ParseMore.js
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
// Generated by CoffeeScript 1.12.4
|
||||
var ParseMore,
|
||||
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
||||
hasProp = {}.hasOwnProperty;
|
||||
|
||||
ParseMore = (function(superClass) {
|
||||
extend(ParseMore, superClass);
|
||||
|
||||
function ParseMore(message, parsedLine, snippet) {
|
||||
this.message = message;
|
||||
this.parsedLine = parsedLine;
|
||||
this.snippet = snippet;
|
||||
}
|
||||
|
||||
ParseMore.prototype.toString = function() {
|
||||
if ((this.parsedLine != null) && (this.snippet != null)) {
|
||||
return '<ParseMore> ' + this.message + ' (line ' + this.parsedLine + ': \'' + this.snippet + '\')';
|
||||
} else {
|
||||
return '<ParseMore> ' + this.message;
|
||||
}
|
||||
};
|
||||
|
||||
return ParseMore;
|
||||
|
||||
})(Error);
|
||||
|
||||
module.exports = ParseMore;
|
Reference in New Issue
Block a user