mirror of
https://github.com/anoma/juvix.git
synced 2025-01-06 06:53:33 +03:00
f1bb0e50d9
* Closes #2841 * Moves the `vampir` compilation target under `dev`. * Removes VampIR tests that require the external `vamp-ir` executable.
22 lines
704 B
Haskell
22 lines
704 B
Haskell
module Commands.Compile
|
|
( module Commands.Compile,
|
|
module Commands.Compile.Options,
|
|
)
|
|
where
|
|
|
|
import Commands.Base
|
|
import Commands.Compile.Anoma qualified as Anoma
|
|
import Commands.Compile.Cairo qualified as Cairo
|
|
import Commands.Compile.Native qualified as Native
|
|
import Commands.Compile.Options
|
|
import Commands.Compile.RiscZeroRust qualified as RiscZeroRust
|
|
import Commands.Compile.Wasi qualified as Wasi
|
|
|
|
runCommand :: (Members AppEffects r) => CompileCommand -> Sem r ()
|
|
runCommand = \case
|
|
Native opts -> Native.runCommand opts
|
|
Wasi opts -> Wasi.runCommand opts
|
|
Anoma opts -> Anoma.runCommand opts
|
|
Cairo opts -> Cairo.runCommand opts
|
|
RiscZeroRust opts -> RiscZeroRust.runCommand opts
|