Code Monkey home page Code Monkey logo

Comments (5)

deanishe avatar deanishe commented on July 20, 2024 1

The workflow has its own build script at bin/build. That builds workflow in ./build. That's the directory you link to Alfred.

I normally develop using modd, which rebuilds the workflow when I change something.

This one isn't so straightforward, though, because you need a Google API key, which isn't in the repo.

The build script expects a secret.go.private file that is a copy of secret.go, but includes the API key. It swaps them before building, and back again afterwards.

from alfred-gcal.

deanishe avatar deanishe commented on July 20, 2024 1

I got an internship recently and learning JS/React now

Congratulations! Hope that works out well for you.

Would be nice if you added the change

No problem. Will. do.

from alfred-gcal.

nikitavoloboev avatar nikitavoloboev commented on July 20, 2024

Hi @deanishe

I wanted to add this change but I am curious what would you say the best way to work on some Go workflow is?

Let's say I cloned this repo to ~/go/src/github.com/deanishe/alfred-gcal and ran go get ./... to get all the libraries. I suppose it doesn't have to be placed in ~/go dir but go get ./... won't work otherwise.

What would I do next? I would think I would have to remove Alfred Gcal workflow I have now and use your script to symlink the workflow in ~/go to Alfred. Then use your build script and then I am not quite sure. Basically I want to start hacking on a fork of the workflow without messing things up.

For my own workflows I use these guidelines and this tool that assumes that your source code is separate to the workflow items that go into workflow dir and where alfred build will put the binary into workflow I can run.

What is your process in developing workflows like I am curious? Also what would be the best way to forking and making changes to the workflow be?

Thank you.

from alfred-gcal.

deanishe avatar deanishe commented on July 20, 2024

Have you looked into this, @nikitavoloboev, or should I do it?

from alfred-gcal.

nikitavoloboev avatar nikitavoloboev commented on July 20, 2024

@deanishe Have been quite busy as I got an internship recently and learning JS/React now.

Would be nice if you added the change. I also haven't looked at new AwGo changes. I did however look into modd and it's awesome.

from alfred-gcal.

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.