dshoreman / servidor

A modern web application for managing servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer should auto-build when its source is changed

dshoreman opened this issue · comments

The installer code is all kept in the build/installer/ directory but, in order to actually run, it needs to be compiled into a single setup.sh in the project root. There is already a make installer command that does that, but it has to be ran manually.

Instead, we should add a pre-commit hook (or similar) that runs make installer when files in ./build/installer/**/*.sh have changed.

The Semantic-UI-Vue project seems to achieve this using Husky, so that could be an option? As long as it can run non-npm commands, but I don't see why that wouldn't be possible.

ezoic increase your site revenue