Re: Babel zip after exporting file

2023-03-17 Thread Max Nikulin
On 17/03/2023 05:39, suarezmiguelc wrote: :PROPERTIES: :header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip index.js && rm index.js") :END: There is no such feature as :post-tangle. Try M-x org-lint Generic org-babel code is executed instead to evaluate

Babel zip after exporting file

2023-03-16 Thread suarezmiguelc
Hello Emacs org-mode community, I’m trying this example: ** index.js :PROPERTIES: :header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip index.js && rm index.js") :END: First endpoint example: #+begin_src js exports.handler = async (event, context) => {