• 请不要在回答技术问题时复制粘贴 AI 生成的内容
memorycancel
V2EX  ›  程序员

锅巴脚本引擎 write once, deploy every where

  •  
  •   memorycancel ·
    memorycancel · Jan 22, 2019 · 1452 views
    This topic created in 2673 days ago, the information mentioned may be changed or developed.

    站在巨人( Docker )肩膀上,开源自己写的一个小工具。

    https://github.com/memorycancel/GuoBa

    用这个就不用在自己机器上安装各种编程语言的运行环境啦。

    运行 code 只需要一行命令:

    guoba hello.rb
    guoba hello.go
    guoba hello.py
    guoba hello.lua
    

    抛个砖,求大家引玉,求 star~~

    2 replies    2019-01-22 19:29:28 +08:00
    mritd
        1
    mritd  
       Jan 22, 2019 via iPhone
    你这个调用 docker 有点扯
    mritd
        2
    mritd  
       Jan 22, 2019 via iPhone
    而且你这个挂载 pwd ... 你怎么知道我的脚本里都要处理哪些宿主机文件? 我一开始以为各种 gvm rvm nvm 啥的集合...结果你这个跑 docker ...
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2310 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:56 · PVG 23:56 · LAX 08:56 · JFK 11:56
    ♥ Do have faith in what you're doing.