Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 720 Bytes

vditor.md

File metadata and controls

30 lines (25 loc) · 720 Bytes

Build and release

NOTE: Check out the right base release version.

# (First time: npm install)
# Change some code
# Test: npm run start
# Update semver in package.json
# Commit and push to both latest-chafan and a new semvar vX.X.X barnches 
npm run build
npm publish --access=public --tag latest-chafan

Build lute.min.js

brew install golang
export PATH=$PATH:$(go env GOPATH)/bin
go get -u github.com/gopherjs/gopherjs
go get golang.org/dl/go1.12.16
go1.12.16 download
export GOPHERJS_GOROOT="$(go1.12.16 env GOROOT)"
mkdir $(go env GOPATH)/src/github.com/chafan-dev/
ln -s $PWD $(go env GOPATH)/src/github.com/chafan-dev/lute
cd javascript/
rm lute.min.js lute.min.js.map
bash build.sh