https://linen.dev logo
Join Discord
Powered by
# tools
  • l

    loud-salesclerk-7438

    05/20/2023, 11:03 AM
    did you submit a specifically crafted .zip file or did you just throw your root folder at
    haxelib submit
    ?
  • c

    cool-musician-79004

    05/20/2023, 11:06 AM
    I said haxelib summit current folder
  • c

    cool-musician-79004

    05/20/2023, 11:06 AM
    I thought it was smart enough to only include needed things, I guess I put my expectations too high
  • l

    loud-salesclerk-7438

    05/20/2023, 11:07 AM
    how would it know what is needed / relevant?
  • c

    cool-musician-79004

    05/20/2023, 11:20 AM
    I assumed it reads haxelib.json just like npm knows what to publish based on package.json
  • c

    cool-musician-79004

    05/20/2023, 11:21 AM
    Publishing packages is usually a well know standard process in other languages
  • p

    powerful-morning-89

    05/20/2023, 11:21 AM
    It doesn't, and haxelib.json is not enough to know what should be included.
  • p

    powerful-morning-89

    05/20/2023, 11:22 AM
    If you want to improve the process: send PRs!
  • c

    cool-musician-79004

    05/20/2023, 11:22 AM
    Ok, and what is required for a library to work properly ? The source code path, haxelib.json and anything more ?
  • c

    cool-musician-79004

    05/20/2023, 11:23 AM
    First it is needed to define the required rhings to publish a library, then I will try to open a PR, I plan to invest in haxe long term
  • p

    powerful-morning-89

    05/20/2023, 11:25 AM
    What is always required is haxelib.json and source files (but even that can't be derived from haxelib.json). + anything else that may be needed, eg things like lime ship with a whole bunch of extra binaries and stuff.
  • c

    cool-musician-79004

    05/20/2023, 11:35 AM
    Doesn't haxelib.json define a source path folder? Or people put code outside of that foder too?
  • p

    powerful-morning-89

    05/20/2023, 11:38 AM
    If no class path is defined the directory containing haxelib.json is used as class path.
  • g

    gray-state-67732

    05/20/2023, 11:47 AM
    + readme for the project page on lib.haxe.org
  • c

    cool-musician-79004

    05/20/2023, 12:01 PM
    I have class path defined , and it still packs the entire folder. Oh, or you mean once installed ?
  • g

    gray-state-67732

    05/20/2023, 12:02 PM
    If you want control about what is submitted you need to pack your zip yourself
  • g

    gray-state-67732

    05/20/2023, 12:02 PM
    I would expect GH actions helping with haxelib submit offer options for that
  • c

    cool-musician-79004

    05/20/2023, 12:15 PM
    At the end, it was a bit more than just the mentioned, this is what I ended with
    Copy code
    zip hammerspoon-hx.zip -r src CHANGELOG.md haxelib.json LICENSE README.md
  • c

    cool-musician-79004

    05/20/2023, 12:15 PM
    What do you mean?
  • c

    cool-musician-79004

    05/20/2023, 12:20 PM
    This looks much better

    https://cdn.discordapp.com/attachments/459827960006967325/1109455651064791090/image.png▾

  • g

    gray-state-67732

    05/20/2023, 12:21 PM
    There is/are GH actions available to publish on haxelib on tags iirc I'd assume such actions to take some (optional) parameters telling it what to include in the submitted zip
  • c

    cool-musician-79004

    05/20/2023, 1:03 PM
    Oh really? I only know the action to setup haxe. Do you have an idea of the name of the action so I can look for it?
  • g

    gray-state-67732

    05/20/2023, 1:10 PM
    No
  • c

    cool-musician-79004

    05/20/2023, 1:20 PM
    This is all that I see for haxe in the marketplace

    https://cdn.discordapp.com/attachments/459827960006967325/1109470790090506300/image.png▾

  • b

    bland-salesmen-68096

    05/24/2023, 2:32 AM
    How import file .HMD to blender? who can tell me?
  • w

    witty-island-52596

    05/26/2023, 7:06 PM
    Thx in advance, all who participate
  • a

    astonishing-jordan-99718

    05/27/2023, 7:06 PM
    @witty-island-52596
  • i

    important-cpu-97721

    05/27/2023, 9:41 PM
    ECX updated for haxe 5 - https://github.com/OutrunInteractive/ecx/releases/tag/0.0.5
  • h

    hallowed-ocean-84954

    05/28/2023, 5:14 PM
    I'm trying to debug a game in HTML5 from the vscode debugger - my breakpoints are showing up as "Unbound breakpoint" . If I use HL then it's fine. Any ideas what is off ? The browser it launches is Chrome in case that's relevant.
  • h

    hallowed-ocean-84954

    05/28/2023, 5:16 PM
    nvm - it turns out that if I disable/re-enable the bp once the game is up in the browser then bp works