@taqueria/plugin-ligo 0.0.0-pr-222-e6e6d3af → 0.0.0-pr-274-1b09d613
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compile.js +1 -1
- package/package.json +1 -1
package/compile.js
CHANGED
|
@@ -14,7 +14,7 @@ const getInputFilename = (opts) => sourceFile => {
|
|
|
14
14
|
const getCompileCommand = (opts, _arch) => (sourceFile) => {
|
|
15
15
|
const {projectDir} = opts
|
|
16
16
|
const inputFile = getInputFilename (opts) (sourceFile)
|
|
17
|
-
const baseCommand = `docker run --rm -v \"${projectDir}\":/project -w /project ligolang/ligo:next compile contract ${inputFile}`
|
|
17
|
+
const baseCommand = `DOCKER_DEFAULT_PLATFORM=linux/amd64 docker run --rm -v \"${projectDir}\":/project -w /project ligolang/ligo:next compile contract ${inputFile}`
|
|
18
18
|
const entryPoint = opts.e ? `-e ${opts.e}` : ""
|
|
19
19
|
const syntax = opts["-s"] ? `s ${opts['s']} : ""` : ""
|
|
20
20
|
const outFile = `-o ${getContractArtifactFilename(opts)(sourceFile)}`
|
package/package.json
CHANGED