This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
safetyscissors's profile picture

Dost thou workflow?

Started by safetyscissors, 10 January 2015 - 09:15 PM
safetyscissors #1
Posted 10 January 2015 - 10:15 PM
Programming is fun. Just wondering how to efficiently scale programs.
Specifically, how should I work with multiple files distributed to multiple devices?
I'm guessing that the opinion-based responses makes this a general question.

Current strategy
vim -> ../computer/mySaves/variousFiles.lua -> makefile (cid) -> ../computer/cid/oneProgram

This does a few things
-prevents losing data from breaking computers
-deals with constantly changing ids
-pushes to many devices
-doesnt easily allow ingame editing and tweaking
-makefile needs adjustment when adding/moving files
Its not bad. Just hoping for something simpler that speeds this process up.
Perhaps I'm just overthinking?
Lyqyd #2
Posted 10 January 2015 - 10:32 PM
I usually just write the code in another folder and use git as version control. Then manually put programs on computers with pastebin. I usually manually copy files across when testing programs.

You should be labeling your computers in-game. There's no reason to have to deal with losing everything when you break a computer and having to get its new ID.
SquidDev #3
Posted 11 January 2015 - 11:34 AM
Git for version control, Howl for building/testing. Sometimes Ant (for Grin-Get).

I just have a symlink to my computer's folder, and edit directly on it.

I can't remember the last time I used minecraft to write/run programs though, I almost exclusively use CCEmuRedux. This means I have one computer with about 13Mb of files on it (though I don't know how much is just Git), though obviously I cannot test Turtles.