2.7.0-3 • Published 3 years ago

@m59/gerbv-bin v2.7.0-3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

gerbv AppImage

nodejs

install

npm install @m59/gerbv-bin

usage

import { execFile } from 'child_process'
import { promisify } from 'util'
import gerbvBin from 'gerbv-bin'
const execFileAsync = promisify(execFile)

;(async () => {
  await execFileAsync(gerbvBin, [ '--export', 'png', '--output', outputFilePath, inputFilePath ])
})()

local development setup

install nektos/act (global)

curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash

./act

Use local ./act script to run the Github Action locally. It builds a docker image to use as the runner environment and calls the globally installed act.