Commit Graph

25 Commits

Author SHA1 Message Date
Carsten Grohmann
48cc058df1 Update copyright years 2023-01-13 22:12:43 +01:00
Carsten Grohmann
50103374e7 Fix Node.js warning about wrong module type
# rollup --config rollup.config.js
(node:2833) Warning: To load an ES module, set "type": "module" in the
package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[!] RollupError: Node tried to load your configuration file as CommonJS
even though it is likely an ES module. To resolve this, change the
extension of your configuration to ".mjs", set "type": "module" in your
package.json file or pass the "--bundleConfigAsCjs" flag.
2022-11-19 09:39:06 +01:00
Carsten Grohmann
2d0ee1a69e Add rules to run black to Makefile
Added:
black       : Run source code formatter black
black-check : Run source code formatter black in check-only mode
2022-11-11 20:44:32 +01:00
Carsten Grohmann
12b3a1cf9f Add dependencies to "make release" 2022-01-14 21:26:21 +01:00
Carsten Grohmann
a28a432efb Remove release files with "make clean" 2022-01-14 20:50:37 +01:00
Carsten Grohmann
9d8a180c8d Start new development cycle 2022-01-14 20:48:23 +01:00
Carsten Grohmann
167b1dd27a Fix missing test.py in release packages 2022-01-12 20:38:14 +01:00
Carsten Grohmann
e320fa56a0 Update copyright years 2022-01-02 13:35:09 +01:00
Carsten Grohmann
ef045232d1 Move rollup.js configuration into own config file 2021-12-26 23:04:17 +01:00
Carsten Grohmann
569f422828 Add release target to Makefile to build packages 2021-12-23 13:07:36 +01:00
Carsten Grohmann
f53e8c6b55 Add dependencies to Makefile 2021-07-24 08:43:48 +02:00
Carsten Grohmann
1abf455711 Use Webdriver Manager for browser compatibility
Version mismatch between browser and selenium driver breaks the tests.
The Webdriver manager automatically ensures the compatibility by
downloading the right driver for the installed browser.
2021-07-21 22:40:41 +02:00
Carsten Grohmann
ecf9ba11fd Add selenium based unit tests 2021-07-15 06:51:17 +02:00
Carsten Grohmann
98c99fa57f Update copyright years 2021-02-05 17:04:09 +01:00
Carsten Grohmann
1292d4f1e2 Pin build process to Python 3.7
After a package update, transcrypt produces incomplete JS:
__target__/OOMAnalyser.js (147:15)
145:       }
146:       if (cols_to_strip) {
147:         var line = ;
                        ^
148:       }
149:       if (line.startswith ('kernel:')) {

instead of
 146       if (cols_to_strip) {
 147         var line = __getitem__ ((function () {
 148           var __accu0__ = line;
 149           return __call__ (__accu0__.py_split, __accu0__, '     ', cols_to_strip);
 150         }) (), __neg__ (1));
 151       }
 152       if (line.startswith ('kernel:')) {

A temporary pinning of Transcrypt to Python 3.7 solves this issue.
2020-12-08 10:50:40 +01:00
Carsten Grohmann
5945fb2d37 Convert hard coded values to variables 2020-12-07 15:05:02 +01:00
Carsten Grohmann
967d231be5 Use transcrypt --sform to enable string formatting
The Python string formatting mini language isn't enabled by default.
"{}".format(42) works fine but "{0:x}.format(42)" returns "{0:x}"
instead of "2a" if the mini language isn't enabled.
2020-11-20 21:51:33 +01:00
Carsten Grohmann
4d31b9ad3d Use a better describing name for VIRTUAL_ENV
Rename variable from VIRTUAL_ENV to VIRTUAL_ENV_DIR.
2020-11-19 15:11:25 +01:00
Carsten Grohmann
d456f6e25e Bundling multiple JS files into one single file
Transcrypt 3.7 generates multiple JS files in __target__ directory. All
output files will be bundled into one single file with the rollup
module bundler (rollup.js). Unfortunately the information of the
original sourcemap file will be lost.
2020-10-29 14:32:42 +01:00
Carsten Grohmann
c6958c1ccf Update to Transcrypt 3.7 2020-10-29 14:14:37 +01:00
Carsten Grohmann
a8344d3656 Update copyright years 2020-01-02 20:58:01 +01:00
Carsten Grohmann
ea2e674998 Update copyright years 2019-02-07 20:52:37 +01:00
Carsten Grohmann
9e8181225c Update copyright years 2018-04-06 21:56:29 +02:00
Carsten Grohmann
b8ec3c720e Add a rule to start a web server for serving the current directory 2017-11-29 20:10:25 +01:00
Carsten Grohmann
18e8a3eb56 Initial commit 2017-11-25 12:52:55 +01:00