Git Product home page Git Product logo

Comments (11)

acecilia avatar acecilia commented on May 27, 2024 1

Mmm what do you mean? Sorry, I dont understand the question

At the time of writing, my goal was to generate a compilation database to pass to swiftlint. After looking into it, I end up writing a script to manually generate it

from xcbeautify.

acecilia avatar acecilia commented on May 27, 2024 1

See some examples here: https://github.com/acecilia/swift-compilation-database

from xcbeautify.

KarthikJay avatar KarthikJay commented on May 27, 2024 1

xcpretty supports generation of compile_commands.json files using the following flag:
-r json-compilation-database

Currently, xcbeautify doesn't support this reporter:
The value 'json-compilation-database' is invalid for '--report '

from xcbeautify.

moshe-foreflight avatar moshe-foreflight commented on May 27, 2024 1

+1 for compilation database.

from xcbeautify.

pepicrft avatar pepicrft commented on May 27, 2024

@acecilia would you like to generate an HTML report from your compilation?

from xcbeautify.

jlmendezbonini avatar jlmendezbonini commented on May 27, 2024

@acecilia would you mind sharing the scripts that you ended using to create the compilation database? thanks!

from xcbeautify.

adenisonafifi avatar adenisonafifi commented on May 27, 2024

The compilation database can be used by clangd for code completion when working outside of XCode on a Mac C++ project. This is a great feature from xcpretty but now the xcpretty project is unsupported.

from xcbeautify.

jaysoffian avatar jaysoffian commented on May 27, 2024

Parsing the output of xcodebuild to generate a compilation database is fraught with peril. Use -gen-cdb-fragment-path instead. See https://gist.github.com/T1T4N/f4d63a44476eb5c7046cc561cb8c7f77 for guidance.

from xcbeautify.

jmonroe avatar jmonroe commented on May 27, 2024

+1 on this.
The compilation database is required for SonarScanner to scan projects correctly.

from xcbeautify.

github-actions avatar github-actions commented on May 27, 2024

Hola ๐Ÿ‘‹,

We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable.
If you still believe that this issue is valid and requires attention, please provide an update or any additional information that can help us address it. Otherwise, we may consider closing it in the near future.
Thank you for your understanding.

from xcbeautify.

github-actions avatar github-actions commented on May 27, 2024

Hola ๐Ÿ‘‹,

We want to inform you that we have decided to close this stale issue as there hasn't been any activity or response regarding it after marking it as stale.

We understand that circumstances may have changed or priorities may have shifted, and that's completely understandable. If you still believe that this issue needs to be addressed, please feel free to reopen it and provide any necessary updates or additional information.

We appreciate your understanding and look forward to your continued contributions to the project.

Thank you.

from xcbeautify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.