Add frontend/backend make targets, fix source release (#10325)

* Add frontend/backend make targets, fix source release

- Add 'make backend' and 'make frontend' make targets which are used to
  build go and js/css/svg files respectively.

- The 'backend' target can be invoked without requiring Node.js to be
  present on the system if pre-built frontend assets are present like
  in the release source tarballs.

- Fix source releases missing 'dist' folders inside 'node_modules' which
  were erronously excluded from tar.

- Store VERSION in file VERSION for the release tarballs and prefer that
  file over git-derived version.

* fix release task

* fix typo

* fix another typo
This commit is contained in:
silverwind
2020-02-22 10:15:11 +01:00
committed by GitHub
parent c8d1c38129
commit 2ed9ead6de
4 changed files with 57 additions and 18 deletions

1
.gitignore vendored
View File

@@ -74,6 +74,7 @@ coverage.all
/public/css
/public/fomantic
/public/img/svg
/VERSION
# Snapcraft
snap/.snapcraft/