Skip to content

make build arch-agnostic #1333

@fauxbytes

Description

@fauxbytes

Attempting to build on windows (git-bash).

$ git rev-parse --short HEAD
e986b927
$ cd source/swap/
$ yarn compile
yarn run v1.22.22
$ hardhat compile; yarn typechain
Error HH303: Unrecognized task 'compile;'
$ cd -
$ export LINUX_CMD_DELIM=';'
$ rg -g '**/package.json' "$LINUX_CMD_DELIM"
source\batch-call\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\swap\package.json
20:    "compile": "hardhat compile; yarn typechain",

source\pool\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\wrapper\package.json
21:    "compile": "hardhat compile; yarn typechain",

source\delegate\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\registry\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\staking\package.json
19:    "compile": "hardhat compile; yarn typechain",

source\swap-erc20\package.json
19:    "compile": "hardhat compile; yarn typechain",

Also suspect the following error is somehow arch-related (doesn't occur on linux):

$ yarn compile
yarn run v1.22.22
$ lerna run compile
lerna notice cli v7.4.2
lerna info versioning independent

 >  Lerna (powered by Nx)   Running target compile for 11 projects
    ×  @airswap/utils:compile
$ yarn clean && tsc -b
error TypeError: Cannot create property '-noemit' on string '{"-noemit":""}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions