From a8699d7e05e2a9bc711d1f183b774dd1830b7bde Mon Sep 17 00:00:00 2001 From: Fernando Dodino Date: Sat, 25 May 2024 09:14:56 -0300 Subject: [PATCH] =?UTF-8?q?Migraci=C3=B3n=20a=20Wollok=20TS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .classpath | 8 ------ .github/workflows/ci.yml | 14 +++++++++++ .gitignore | 1 - .project | 35 -------------------------- .settings/org.eclipse.jdt.core.prefs | 7 ------ .travis.yml | 8 ------ META-INF/MANIFEST.MF | 22 ---------------- README.md | 2 +- build.properties | 4 --- src/caja.wlk => caja.wlk | 0 src/direcciones.wlk => direcciones.wlk | 0 src/llegada.wlk => llegada.wlk | 0 src/niveles.wlk => niveles.wlk | 0 package.json | 7 ++++++ src/pared.wlk => pared.wlk | 0 src/game.wpgm => pgmGame.wpgm | 0 src/sokoban.wlk => sokoban.wlk | 0 src/log4j.properties | 10 -------- wollokREPL.wlk | 1 - 19 files changed, 22 insertions(+), 97 deletions(-) delete mode 100644 .classpath create mode 100644 .github/workflows/ci.yml delete mode 100644 .gitignore delete mode 100644 .project delete mode 100644 .settings/org.eclipse.jdt.core.prefs delete mode 100644 .travis.yml delete mode 100644 META-INF/MANIFEST.MF delete mode 100644 build.properties rename src/caja.wlk => caja.wlk (100%) rename src/direcciones.wlk => direcciones.wlk (100%) rename src/llegada.wlk => llegada.wlk (100%) rename src/niveles.wlk => niveles.wlk (100%) create mode 100644 package.json rename src/pared.wlk => pared.wlk (100%) rename src/game.wpgm => pgmGame.wpgm (100%) rename src/sokoban.wlk => sokoban.wlk (100%) delete mode 100644 src/log4j.properties delete mode 100644 wollokREPL.wlk diff --git a/.classpath b/.classpath deleted file mode 100644 index fd16f15..0000000 --- a/.classpath +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..8e84736 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +name: build + +on: [push, pull_request] +jobs: + wollok-ts: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - run: | + wget -O wollok-ts-cli https://github.com/uqbar-project/wollok-ts-cli/releases/latest/download/wollok-ts-cli-linux-x64 + chmod a+x ./wollok-ts-cli + ./wollok-ts-cli test --skipValidations -p ./ + shell: bash diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ae3c172..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/bin/ diff --git a/.project b/.project deleted file mode 100644 index 25aa7e9..0000000 --- a/.project +++ /dev/null @@ -1,35 +0,0 @@ - - - sokobanGame - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.pde.PluginNature - org.eclipse.xtext.ui.shared.xtextNature - org.uqbar.project.wollok.wollokNature - - diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 0c68a61..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.8 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c301551..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: generic - -sudo: required - -script: - - git clone https://github.com/uqbar-project/wollok-cli - - export PATH="$PATH:./wollok-cli" - - wollok test diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF deleted file mode 100644 index 1e724b3..0000000 --- a/META-INF/MANIFEST.MF +++ /dev/null @@ -1,22 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Sokoban -Bundle-Vendor: My Company -Bundle-Version: 1.0.0.qualifier -Bundle-SymbolicName: Sokoban; singleton:=true -Bundle-ActivationPolicy: lazy -Require-Bundle: com.ibm.icu, - org.eclipse.xtext, - org.eclipse.xtext.generator, - org.eclipse.xtend, - org.eclipse.xtend.typesystem.emf, - org.eclipse.xpand, - de.itemis.xtext.antlr;resolution:=optional, - org.eclipse.emf.mwe2.launch;resolution:=optional, - org.uqbar.project.wollok, - org.uqbar.project.wollok.launch, - org.uqbar.project.wollok.lib, - org.eclipse.xtext.ui -Import-Package: org.apache.log4j, - org.apache.commons.logging -Bundle-RequiredExecutionEnvironment: JavaSE-1.8 diff --git a/README.md b/README.md index fa60146..37ea2d1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Sokoban -[![Build Status](https://travis-ci.org/wollok/sokobanGame.svg?branch=master)](https://travis-ci.org/wollok/sokobanGame) +[![Build Status](https://github.com/wollok/sokobanGame/actions/workflows/ci.yml/badge.svg)](https://github.com/wollok/sokobanGame/actions/workflows/ci.yml) Ejemplo del juego Sokoban hecho con Wollok-Game diff --git a/build.properties b/build.properties deleted file mode 100644 index de9e6ab..0000000 --- a/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -bin.includes = META-INF/,\ - .,\ - plugin.xml \ No newline at end of file diff --git a/src/caja.wlk b/caja.wlk similarity index 100% rename from src/caja.wlk rename to caja.wlk diff --git a/src/direcciones.wlk b/direcciones.wlk similarity index 100% rename from src/direcciones.wlk rename to direcciones.wlk diff --git a/src/llegada.wlk b/llegada.wlk similarity index 100% rename from src/llegada.wlk rename to llegada.wlk diff --git a/src/niveles.wlk b/niveles.wlk similarity index 100% rename from src/niveles.wlk rename to niveles.wlk diff --git a/package.json b/package.json new file mode 100644 index 0000000..0971180 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "sokobanGame", + "version": "1.0.0", + "wollokVersion": "4.0.0", + "author": "dodain", + "license": "ISC" +} diff --git a/src/pared.wlk b/pared.wlk similarity index 100% rename from src/pared.wlk rename to pared.wlk diff --git a/src/game.wpgm b/pgmGame.wpgm similarity index 100% rename from src/game.wpgm rename to pgmGame.wpgm diff --git a/src/sokoban.wlk b/sokoban.wlk similarity index 100% rename from src/sokoban.wlk rename to sokoban.wlk diff --git a/src/log4j.properties b/src/log4j.properties deleted file mode 100644 index b80ab85..0000000 --- a/src/log4j.properties +++ /dev/null @@ -1,10 +0,0 @@ -log4j.rootLogger=WARN, stdout - -# WHOLE UQBAR -log4j.logger.org.uqbar=WARN -## DEBUGGER -org.uqbar.project.wollok.ui.debugger - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n diff --git a/wollokREPL.wlk b/wollokREPL.wlk deleted file mode 100644 index 8972ab0..0000000 --- a/wollokREPL.wlk +++ /dev/null @@ -1 +0,0 @@ -object __repl {}