Commit Graph
11 Commits
Author SHA1 Message Date
partouf 303d10a879 fix propscheck for empty properties files 2022-11-04 21:10:27 +01:00
Rubén Rincón Blanco 5bacce7c76 Add better duplicated key check & fix those issues (#4090) 2022-09-24 20:55:24 +02:00
Rubén Rincón Blanco cb39844d7f Ensure there are no duplicated compiler ids between hierarchies (#4003)
* Checks now always output which line is failing

* Ensure no duplicated compilerids between hierarchies
2022-08-29 17:08:42 -05:00
Rubén Rincón Blanco 4a9557e94e Add some more checks & rename for consistency (#3999)
* Add compiler check for every prop & typo check

* Renames tests cases for consistency & adds a few checks
2022-08-29 10:39:42 -05:00
Marc Poulhiès ded668b5d2 propcheck: check for suspicious paths (#3972)
Checks that paths in .amazon.properties are starting with

/opt/compiler-explorer/.

Also rename cppx_blue default config file (was .default. instead of .defaults.).

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-08-19 19:51:27 +02:00
Marc Poulhiès ca6153c86e propcheck: better check duplicated compilers/groups (#3967)
Check for duplicated compiler or group references:

group.cmipsel.compilers=cmips5el:cmipselg1210:cmips64elg1210
group.cmips64el.compilers=cmips564el:cmips64elg1210

triggers:
duplicated_compiler_references:
        cmips64elg1210

group.cmipss.compilers=&cmips:&cmipsel:&cmips64:&cmips64el
group.ccross.compilers=&cppcs:&cmipss:&cmips64el:&cnanomips:&cmrisc32:&cmsp:&cgccarm:&cavr:&rvcgcc:&cxtensaesp32:&cxtensaesp32s2:&cxtensaesp32s3:&cplatspec:&ckalray:&cs390x

triggers:
duplicated_group_references:
        cmips64el

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-08-19 19:21:18 +02:00
Rubén Rincón Blanco 16b176235a JBOF: Just a Bunch of Fixes (#3957)
- Renames orphancompiler.py script to propscheck.py, the name fits better
- Fixes Go props to make them easier to maintain
- Alphabetically sorts some listings in the code
- Adds tests to the props checker script (No idea how to integrate those so it's manual for now)
- Adds 2 missing limit cases for Motd filtering
2022-08-13 01:39:41 +02:00
Rubén Rincón Blanco 38cf38fcbf Sprinkle some path.delimiter around (#3725) 2022-05-27 22:52:48 +02:00
Matt Godbolt 7828576a5b Reverts the reversion of the "make" being more prod-like, and fixes it. (#3591)
* Use webpack to autogenerate the files.

That way, we always generate them consistently, be it through
`make` or building for prod. This fixes the `make` issue, and also
means we've further unified the way we build and run with `make`
vs prod.

Unfortunately this doesn't work for `make dev`; which sees the
handlebars content only. That's probably ok though, I think.
2022-04-28 12:59:25 -05:00
Matt Godbolt 5ae6b304e4 Pre-compile typescript in releases (#3570)
* build the release in-place in out/dist
* run the tsc compiler on the code so everything is pre-transpiled
* serve the various generated html snippets uniformly from the web page so they come from one place.
2022-04-27 16:24:50 -05:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00