./gradlew -x test -x integrationTest build
By default only modules for one Spark/Flink/Scala versions are built. To get the full build, component versions need to be enumerated.
Source: https://gist.github.com/findepi/04c96f0f60dcc95329f569bb0c44a0cd .
./mvnw -T2C clean install -nsu -DskipTests -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Dair.check.skip-all=true -pl '!:trino-server-rpm,!:trino-docs,!:trino-proxy,!:trino-verifier,!:trino-benchto-benchmarks'
docker rm -f trino; docker run --rm -it --name trino -p 8080:8080 trinodb/trino:438
//Thank to @Formstone https://github.com/Formstone/Selecter/blob/master/src/jquery.fs.selecter.js | |
if (window.document.createEvent) { // All | |
var evt = window.document.createEvent("MouseEvents"); | |
evt.initMouseEvent("mousedown", false, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); | |
el.dispatchEvent(evt); | |
} else if (el.fireEvent) { // IE | |
el.fireEvent("onmousedown"); | |
} |
## within current branch, squashes all commits that are ahead of master down into one | |
## useful if you merged with upstream in the middle of your commits (rebase could get very ugly if this is the case) | |
## commit any working changes on branch "mybranchname", then... | |
git checkout master | |
git checkout -b mybranchname_temp | |
git merge --squash mybranchname | |
git commit -am "Message describing all squashed commits" | |
git branch -m mybranchname mybranchname_unsquashed | |
git branch -m mybranchname |