exercism / x86-64-assembly

Exercism exercises in x86-64 Assembly.
https://exercism.org/tracks/x86-64-assembly
MIT License
22 stars 18 forks source link

Add .gitignore for exercises #75

Closed bergjohan closed 4 years ago

bergjohan commented 4 years ago

Ref: #73

bergjohan commented 4 years ago

@nathanchere Does this look ok?

kotp commented 4 years ago

Should we also add a check in bin/verify-exercises for the .gitignore file per exercise? I don't see a generator, but this might be some tooling so that this stays consistent, or at least not missed.

bergjohan commented 4 years ago

You mean check that the file exists for every exercise? Yes, that might be good, I'll update the PR.

A tool that verifies that the contents of some files are the same across all exercises would also be useful. The Makefile and the contents of the vendor directory should be the same for every exercise.

I usually just cp -r exercises/hello-world exercises/<slug-of-new-exercise> when creating a new exercise.

kotp commented 4 years ago

Yeah. In some tracks, have a "generator" command that helps to build the tests file, and some other bin content to set up things like git hooks, etc. Having central tooling means others get the benefit of your known-to-work-well-enough workflow.

bergjohan commented 4 years ago

Yeah, I've got a generator for generating test files, see https://github.com/exercism/x86-64-assembly/blob/master/generators/generate. I should probably add more tools, but I'm pretty busy with v3 at the moment :)

kotp commented 4 years ago

Yeah, I've got a generator for generating test file

Ah, I missed it, though I did look in bin for the tooling that would be executed. Ruby has their executables in bin.

bergjohan commented 4 years ago

Yeah, that might be a better place for it.

I'll merge this, and figure out the tooling in another PR.

Thank you for having a look at this! :)