Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some breakage in the regen.sh script. #162

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Feb 16, 2021

I tried running this while working on something else, and hit two
problems:

  • When gen.sh is called from regen.sh, it is called as ./gen.sh but
    relative to the working directory it should be ../gen.sh
  • regen.sh puts go.capnp.go in the main package, which breaks the
    build; in the past this was how the package was supposed to be
    organized, but 88fcc4a moved it,
    and apparently the script was never updated. gen.sh actually
    puts it in the right place, so we can just remove this.

I tried running this while working on something else, and hit two
problems:

* When gen.sh is called from regen.sh, it is called as ./gen.sh but
  relative to the working directory it should be ../gen.sh
* regen.sh puts go.capnp.go in the main package, which breaks the
  build; in the past this was how the package was supposed to be
  organized, but 88fcc4a moved it,
  and apparently the script was never updated. gen.sh actually
  puts it in the right place, so we can just remove this.
@zenhack zenhack mentioned this pull request Feb 16, 2021
@zombiezen zombiezen merged commit d56a5ae into capnproto:v3 Feb 21, 2021
lthibault pushed a commit that referenced this pull request Feb 22, 2021
I tried running this while working on something else, and hit two
problems:

* When gen.sh is called from regen.sh, it is called as ./gen.sh but
  relative to the working directory it should be ../gen.sh
* regen.sh puts go.capnp.go in the main package, which breaks the
  build; in the past this was how the package was supposed to be
  organized, but 88fcc4a moved it,
  and apparently the script was never updated. gen.sh actually
  puts it in the right place, so we can just remove this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants