init wollok

This commit is contained in:
Coniglio Hernan Marcelo
2026-06-02 15:55:50 -03:00
commit 95e1f5fb73
5 changed files with 42 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
# Local history
.history
# Wollok Log
log
*.log
# Dependencies
node_modules

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
## example
TODO

9
example.wlk Normal file
View File

@@ -0,0 +1,9 @@
object pepita {
var energy = 100
method energy() = energy
method fly(minutes) {
energy = energy - minutes * 3
}
}

8
package.json Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "repo-wollok-en-gitea1",
"version": "1.0.0",
"wollokVersion": "4.2.3",
"author": "CONIGLIOH",
"license": "ISC"
}

9
testExample.wtest Normal file
View File

@@ -0,0 +1,9 @@
import example.pepita
describe "group of tests for pepita" {
test "pepita has initial energy" {
assert.equals(100, pepita.energy())
}
}