Compiling folder using spark-cli cloud compile

I do like adding the file list option to the CLI, I think that could be really helpful. If you want total control over your build environment though, you can always do a full local build: https://github.com/spark/core-firmware :smile:

Thanks!
David

1 Like

Hey @Dave,

It’s been a while… Too busy.
But it seems like .ds_store files still (or again) prevent building; with “flash core said {“error”:“Nothing to do?”}”, while it works fine (well, gives build errors, but hey), when I remove .ds_store.

alexander​weiss, as @Dave was saying, one of the big requests for the CLI is are exclusion and inclusion files so you can specify what NOT to include and what TO include during a build. So then it would be easy to exclude .ds_stores files for examples. From what I understand, this is in the works so stay tuned :smile:

1 Like

Ah, okay. Sorry, I thought some changes had already been made.
Haven’t been keeping track.

Thanks for the explanation!

Hi All!

We did add an include and ignore file for this issue: https://github.com/spark/spark-cli/issues/32

You can also tell the CLI to ignore a particular file extension by editing the settings.js file, or extending your settings override file at ~/.spark/spark.config.json

notSourceExtensions: [
    ".ds_store",
    ".jpg",
    ".gif",
    ".png",
    ".include",
    ".ignore"
]

I’ll throw .ds_store in there in the meantime :smile:

Thanks!
David

2 Likes