Monads/Promises have been our go to tools for expressing concurrency.
However, they seem to divide up our language.
(defun load-esy-env () | |
"Loads esy env" | |
(let* ((env-json-str (shell-command-to-string "esy command-env --json")) | |
(json-key-type 'string) | |
(env-pairs (json-read-from-string env-json-str))) | |
(progn | |
(defun load-esy-env () | |
"Loads esy env" | |
(let* ((env-json-str (shell-command-to-string "esy command-env --json")) | |
(json-key-type 'string) | |
(env-pairs (json-read-from-string env-json-str))) | |
(progn | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(make-local-variable 'process-environment) |
#! /bin/bash | |
# If org name is reasonml then REST_BASE will be: https://dev.azure.com/reasonml/ | |
REST_BASE="https://dev.azure.com/esy-ocaml/" | |
PROJ="esy-ocaml" | |
BUILD_STAGINGDIRECTORY="$PWD" | |
AGENT_OS="WINDOWS_NT" | |
SYSTEM_PULLREQUEST_TARGETBRANCH="master" | |
ESY__CI_CACHE_VERSION=v1 | |
# REST_BASE="${SYSTEM_TEAMFOUNDATIONCOLLECTIONURI}" |
{ | |
"dependencies": { | |
"ocaml": "4.6.x", | |
"@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam" | |
}, | |
"resolutions": { | |
"@opam/dune": { | |
"source": "https://github.com/ocaml/dune/releases/download/2.5.1/dune-2.5.1.tbz#6c09f4d53e9169498ab017597c4343ceb00f6ead", | |
"override": { | |
"buildsInSource": true, |
class Libgccjit < Formula | |
# This is a spin-off of the GCC formula and they should remain as close as possible. | |
desc "JIT library for the GNU compiler collection" | |
homepage "https://gcc.gnu.org/" | |
if Hardware::CPU.arch == :arm64 | |
# Branch from the Darwin maintainer of GCC with Apple Silicon support, | |
# located at https://github.com/iains/gcc-darwin-arm64 and | |
# backported with his help to gcc-10 branch. Too big for a patch. | |
url "https://github.com/DiningPhilosophersCo/gcc/archive/gcc-10-arm-20210429.tar.gz" | |
sha256 "e22d39545e3ab50eb9cb14b4624fa08eb450f47c73e9e2d245ff96c1e99dca5c" |
On Windows, when creating shortcuts, set $HOME
in the properties
(as Target
)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -Command "$env:HOME = 'C:/Users/manas'; Start-Process 'C:\Program Files\Emacs\x86_64\bin\runemacs.exe'"
<2023-07-13 Thu 07:22> Update: