Take either of these files and save as .vscode/tasks.json
in your orx project.
Based on the vscode reference material here: https://code.visualstudio.com/docs/editor/tasks
#!/bin/bash | |
# Use as: find . -name "*.re" -exec ./convert_re.sh {} \; | |
set -euf -o pipefail | |
src="$1" | |
dst="${src%.re}.ml" | |
echo Converting "$src" to "$dst" |
set nocompatible | |
filetype off | |
" Vundle and its packages | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' |
{ | |
// Make changes here to the bash.exe profile | |
"guid": "{a515ab70-2da7-4310-930d-b98cb83a16a2}", | |
"name": "OCaml Cygwin bash", | |
"commandline": "C:/OCaml64/bin/bash.exe --login -i", | |
"icon": "https://ocaml.org/img/favicon32x32.ico", | |
"hidden": false | |
} |
; Add SmokeTrail as a child object, adjusting the position of the spawner as needed, to get a smoke trail | |
; or exhaust effect. | |
[SmokeTrail] | |
Spawner = SmokeSpawner | |
[SmokeSpawner] | |
Object = SmokeParticle | |
Position = (-17, 0, -1) | |
UseRelativeSpeed = true |
==== Building orxLIB (debug64) ==== | |
orxParam.c | |
In file included from ../../../include/memory/orxMemory.h:50, | |
from ../../../src/main/orxParam.c:34: | |
../../../src/main/orxParam.c: In function ‘orxParam_SetArgs’: | |
../../../include/debug/orxDebug.h:300:9: error: null argument where non-null required (argument 2) [-Werror=nonnull] | |
300 | strncpy(zBuffer, FILE, 256); \ | |
| ^~~~~~~ | |
../../../src/main/orxParam.c:794:5: note: in expansion of macro ‘orxDEBUG_SETBASEFILENAME’ | |
794 | orxDEBUG_SETBASEFILENAME(orxNULL); |
module One = struct | |
type t | |
end | |
module Two = struct | |
type t | |
end | |
module Tag_incomplete_match = struct | |
type one = One.t |
let max_ocaml_int = Int64.of_int max_int | |
let read_file input_channel (header : Tar_cstruct.Header.t) = | |
let file_size = header.file_size in | |
assert (file_size <= max_ocaml_int); | |
let buf = Cstruct.create (Int64.to_int file_size) in | |
Tar_cstruct.really_read input_channel buf; | |
buf | |
let rec read_files input_channel accu = |
Take either of these files and save as .vscode/tasks.json
in your orx project.
Based on the vscode reference material here: https://code.visualstudio.com/docs/editor/tasks
[Knight] | |
Position = (0, 0, 0) | |
AnimationSet = KnightAnimationSet | |
Scale = 12 | |
; Animation | |
[KnightAnimationSet] | |
Texture = data/texture/characters/knight_.png | |
FrameSize = (24, 24) |
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: |