楼主: vkaifa873
441 1

[区块链] 深入分析智能合约开发dapp技术系统源码 [推广有奖]

  • 0关注
  • 0粉丝

大专生

71%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
42.4991
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
590 点
帖子
19
精华
0
在线时间
52 小时
注册时间
2022-7-12
最后登录
2023-5-26

楼主
vkaifa873 发表于 2023-2-6 14:41:04 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

本文由 威-kaifa873 整理发布,仅作为项目开发需求参考!飞机@sleu88

def install

  #ENV.deparallelize#if your formula fails when building in parallel

  #Remove unrecognized options if warned by configure

  system"./configure","--disable-debug",

  "--disable-dependency-tracking",

  "--disable-silent-rules",

  "--prefix=#{prefix}"

  #system"cmake",".",*std_cmake_args

  system"make","install"#if this fails,try separate make/make install steps

  end

  system后面是需要执行的安装命令,这个根据实际软件编译过程进行修改。

  因为bytom是已经编译好的二进制软件包,所以实际的文件进行修改如下:

  class Bytom<Formula

  desc"Official Go implementation of the Bytom protocol"

  homepage"https://bytom.io/"

  url"https://github.com/Bytom/bytom/releases/download/v1.0.7/bytom-1.0.7-darwin_amd64.tgz"

  version"1.0.7"

  sha256"25dd62343157fe6eb7a983edb1455f457cfca07552f02e1f9142227bd961a4a5"

  def install

  system'mv bytomd-darwin_amd64 bytomd'

  system'mv bytomcli-darwin_amd64 bytomcli'

  bin.install"bytomd"

  bin.install"bytomcli"

  end

  test do

  #test dowill create,run in and delete a temporary directory.

  #

  #This test will fail and we won't accept that!For Homebrew/homebrew-core

  #this will need to be a test that verifies the functionality of the

  #software.Run the test withbrew test bytom.Options passed

  #tobrew installsuch as--HEADalso need to be provided tobrew test.

  #

  #The installed folder is not in the path,so use the entire path to any

  #executables being tested:system"#{bin}/program","do","something".

  system"false"

  end

  end


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:App DAP unrecognized recognized dependency

已有 1 人评分经验 收起 理由
kychan + 100 精彩帖子

总评分: 经验 + 100   查看全部评分

沙发
champion_stone 发表于 2023-2-22 00:03:48
新手观摩

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jr
拉您进交流群
GMT+8, 2026-1-29 21:48