Skip to content

Commit 11c2004

Browse files
committed
Add MELPA badges
1 parent aaa847b commit 11c2004

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.org

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
* Emacs auto-deployment
2+
3+
#+BEGIN_HTML
4+
<a href="https://melpa.org/#/copy-file-on-save"><img alt="MELPA: copy-file-on-save" src="https://melpa.org/packages/copy-file-on-save-badge.svg"></a>
5+
<a href="https://stable.melpa.org/#/copy-file-on-save"><img alt="MELPA stable: copy-file-on-save" src="https://stable.melpa.org/packages/copy-file-on-save-badge.svg"></a>
6+
#+END_HTML
7+
28
=copy-file-on-save= is a minor mode to copy the file to another path on [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html][after-save-hook]]. This not only saves the backup in the project specific path, it also you can realize the deployment to the remote server over TRAMP.
39
** Why =copy-file-on-save=?
410
The original name of this feature was *auto-deployment*. It was named after [[https://confluence.jetbrains.com/display/PhpStorm/Sync+changes+and+automatic+upload+to+a+deployment+server+in+PhpStorm][JetBrains' automatic deployment function]]. But in Emacs this function can be realized by TRAMP's excellent file system abstraction layer. That is, deploying to remote server is just done with only =copy-file= function.

0 commit comments

Comments
 (0)