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.
Problem
The build system used in this repository suffers from bit-rot: it uses tools which have been deprecated and for which it's really hard to find documentation, most dependencies are not maintained and broken, the standards used are outdated and completely different from everything I've seen...
This results in a system which is really hard to maintain and build. As an example, when I started working with neo-mon it took me a whole day to get it to build and when preparing this PR I had a lot of problems finding documentation that was out-dated enough (in one instance I had to hunt down the correct version of the documentation of a package through git history and build it myself to see it). Furthermore, I have to be extremely cautious when modifying everything in order to avoid breaking anything.
Solution
This PRs solves that by simplifying the whole build process to the extreme, making it only depend on bash and npm (which installs only a single dependency!) and removing a lot of stuff which becomes unneeded.
Drawbacks
Because of the dependency on bash and several nix tools it will be much harder to build on Windows, nevertheless
build.sh
is easy to read and I believe it's still an improvement over the current build system.It also removes the linters.
Extra
This PR also updates the CI action used for gh-pages deployment.