This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
#################################################################### | |
# STEP 1: Build the project with the wasm32-unknown-unknown target # | |
#################################################################### | |
# Set the stack size to 64KB | |
STACK_SIZE=65536 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait DescriptionStd { | |
fn description(&self) -> String { | |
String::from("No Description") | |
} | |
} | |
struct Elemento<T> { | |
item: T, | |
} |
Just a thought about test execution and git hooks
I’m creating this post to share a practice that I decided to adopt recently: ###Bind test execution to git pushes.
#####First of all: Git Hooks. Git hooks are a way to execute scripts every time some important action is executed on git. (git hooks). Today we will use the hook pre-push to execute a project's tests to make sure that everything is ok before actually execute the push to the repository.