Add ability to rsync artifacts to a remote machine

Use the CockpitRsyncWebpack plugin to optionally rsync build code to a
remote machine, the destination is determined by looking at the
package.json's name field.
This commit is contained in:
Jelle van der Waa 2022-01-04 13:20:03 +01:00 committed by Martin Pitt
parent ba3913caa0
commit 9662fb2ffc
3 changed files with 13 additions and 1 deletions

View file

@ -43,6 +43,12 @@ or
$ make watch
When developing against a virtual machine, webpack can also automatically upload
the code changes by setting the `RSYNC` environment variable to
the remote hostname.
$ RSYNC=c make watch
# Running eslint
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check