ram-machine 2.0.1

RAM machine code interpreter
Documentation
1
2
3
4
5
6
7
const fs = require('fs')
const filePath = './Cargo.lock'

exports.preCommit = (props) => {
  const tomlContent = fs.readFileSync(filePath, 'utf8')
  fs.writeFileSync(filePath, tomlContent.replace(/(name = "ram-machine"[\s\S]version = )".*"/m, `$1"${props.tag}"`))
}