1
0

Add 7digital binary proxying to ruby

This commit is contained in:
2026-01-11 11:45:37 +01:00
parent 4a7edf29cc
commit 3c313315c9
2 changed files with 17 additions and 2 deletions

9
7digital/Main.hs Normal file
View File

@@ -0,0 +1,9 @@
import Control.Monad (void)
import System.Process (rawSystem)
import System.Environment (getArgs)
main :: IO ()
main = do
arguments <- getArgs
void $ rawSystem "bundle"
$ "exec" : "./bin/7digital.rb" : arguments

View File

@@ -22,6 +22,7 @@ common warnings
aeson ^>= 2.2.3, aeson ^>= 2.2.3,
base >= 4.20 && < 5, base >= 4.20 && < 5,
bytestring ^>= 0.12.2, bytestring ^>= 0.12.2,
process ^>= 1.6.26,
text ^>= 2.1 text ^>= 2.1
executable tea-cleaner executable tea-cleaner
@@ -51,5 +52,10 @@ executable locopy
build-depends: build-depends:
directory ^>= 1.3.9, directory ^>= 1.3.9,
filepath ^>= 1.5.4, filepath ^>= 1.5.4,
optparse-applicative ^>= 0.19, optparse-applicative ^>= 0.19
process ^>= 1.6.26
executable 7digital
import: warnings
main-is: Main.hs
hs-source-dirs: 7digital
build-depends: