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
cmake_minimum_required(VERSION 3.22) | |
project(lua_cmake) | |
add_executable(lua_cmake | |
lapi.c lctype.c lfunc.c lmathlib.c loslib.c ltable.c lundump.c | |
lauxlib.c ldblib.c lgc.c lmem.c lparser.c ltablib.c lutf8lib.c | |
lbaselib.c ldebug.c linit.c loadlib.c lstate.c ltests.c lvm.c | |
lcode.c ldo.c liolib.c lobject.c lstring.c ltm.c lzio.c | |
lcorolib.c ldump.c llex.c lopcodes.c lstrlib.c lua.c | |
) |
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
// constants | |
var OFFSET_ARTBOARD_IDX = 8; | |
var ARTBOARD_LIMIT = 100; | |
var FILE_CONTENT_PATH = "~/Programming/WebstormProjects/personal-portfolio/content"; | |
// parse file content into a list of object with properties | |
function parseTxt() { | |
var res = []; | |
var curContent = {}; |