Giter Site home page Giter Site logo

Comments (8)

thebaer avatar thebaer commented on August 16, 2024

Is there a quick way I can test this requirement with Houston CI? Or will it catch this issue when I push up a release with the CLI build process included?

My idea is to try including the CLI as a git submodule and then following this tutorial to get it to build with Meson. Do you think this is a decent route, or do you know of a better way?

from writeas-gtk.

cassidyjames avatar cassidyjames commented on August 16, 2024

The submodule route sounds sane to me! You might poke one of the other developers of Go apps for elementary OS for pointers, as well. I will try and grab some links to examples. I'm not sure the best way to test, other than testing locally and using Houston CI on GitHub. You could also try submitting your app and checking the build directory at http://packages.elementary.io/testing/pool/main/c/com.github.writeas.writeas-gtk/ for the built version and testing that on a clean elementary OS install, i.e. in a VM.

from writeas-gtk.

thebaer avatar thebaer commented on August 16, 2024

Great 👍 I'll give that a shot.

from writeas-gtk.

cassidyjames avatar cassidyjames commented on August 16, 2024

@thebaer here are a couple of apps built for elementary OS with Go, if it helps:

https://github.com/rkoesters/xkcd-gtk

https://github.com/heisantosh/qrshare

from writeas-gtk.

thebaer avatar thebaer commented on August 16, 2024

Thanks! I'm taking what I can from those.

By the way, does the built CLI need to be named with RDNN? Or can I have it installed as writeas?

from writeas-gtk.

thebaer avatar thebaer commented on August 16, 2024

Closed by #17

from writeas-gtk.

cassidyjames avatar cassidyjames commented on August 16, 2024

@thebaer did you mean to embed the source wholesale versus using a submodule?

from writeas-gtk.

thebaer avatar thebaer commented on August 16, 2024

I included the base CLI as a submodule, but embedded its dependencies on purpose, yes. That's because the gb tool I'm using for the build process doesn't support importing libraries from non-GitHub URLs, of which the CLI has a few. So I just embedded them instead of creating new forks of those libraries on a github.com-based repo, updating the CLI import paths, and then having the submodule point to that special CLI branch.

Just wanted to get everything built. I'll clean this up / find a better solution in the future.

from writeas-gtk.

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.