Add 7digital binary proxying to ruby
This commit is contained in:
9
7digital/Main.hs
Normal file
9
7digital/Main.hs
Normal 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
|
||||
10
kazbek.cabal
10
kazbek.cabal
@@ -22,6 +22,7 @@ common warnings
|
||||
aeson ^>= 2.2.3,
|
||||
base >= 4.20 && < 5,
|
||||
bytestring ^>= 0.12.2,
|
||||
process ^>= 1.6.26,
|
||||
text ^>= 2.1
|
||||
|
||||
executable tea-cleaner
|
||||
@@ -51,5 +52,10 @@ executable locopy
|
||||
build-depends:
|
||||
directory ^>= 1.3.9,
|
||||
filepath ^>= 1.5.4,
|
||||
optparse-applicative ^>= 0.19,
|
||||
process ^>= 1.6.26
|
||||
optparse-applicative ^>= 0.19
|
||||
|
||||
executable 7digital
|
||||
import: warnings
|
||||
main-is: Main.hs
|
||||
hs-source-dirs: 7digital
|
||||
build-depends:
|
||||
|
||||
Reference in New Issue
Block a user