Remove old tests from the website #1733
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The website used to host every past test suite, copied into the www directory. We no longer need that on the website (and it makes the codebase impossible to search) so I removed all the old tests and the new tests are hosted simply at
/test
.I also replaced the
www.js
script with a simplerwww.sh
one (since we no longer need to do anything besides copying, really), which allowed me to remove a node dependency that was only used in that script.This has the benefit of making the repo 3.5 million (!!) lines of code smaller. It's also part 1 of my plan to better automate our release process.
Testing
Deployed locally and it works. You can still run
npm run www
to build the test suite, it just uses bash now. Obviously this diff is preposterous but the only parts that matter arewww.sh
and thepackage.json
, which thankfully github puts at the top.Little shell one-liner to verify that I didn't change any source files (shows all the modified directories up to two levels):