https://linen.dev logo
Join Discord
Powered by
# ceramic
  • b

    billowy-waiter-28954

    04/21/2023, 5:14 PM
    So, to build without running:
    ceramic clay build web --setup --assets
  • b

    billowy-waiter-28954

    04/21/2023, 5:16 PM
    And to run via electron:
    ceramic web project --run
  • a

    ambitious-knife-25690

    04/22/2023, 11:45 PM
    what things in ceramic are mandatory?
  • a

    ambitious-knife-25690

    04/22/2023, 11:45 PM
    like, do i need to have hscript? I'm not personally using it but it gets included
  • a

    ambitious-knife-25690

    04/22/2023, 11:47 PM
    (I do have some other libs as well)
  • a

    ambitious-knife-25690

    04/22/2023, 11:54 PM
    hmm, it may be haxeui that is unnecessarily including hscript 🤔
  • b

    billowy-waiter-28954

    04/23/2023, 1:09 PM
    Mmmmmh, it’s needed if you use the « script » plugin
  • a

    ambitious-knife-25690

    04/23/2023, 8:07 PM
    i'm not sure what is happening
  • a

    ambitious-knife-25690

    04/23/2023, 8:08 PM
    but i'm not sure if the issue is with ceramic
  • a

    ambitious-knife-25690

    04/23/2023, 8:08 PM
    for one of my projects without including any plugins or hscript itself
  • a

    ambitious-knife-25690

    04/23/2023, 8:08 PM
    hscript is getting compiled
  • a

    ambitious-knife-25690

    04/23/2023, 8:08 PM
    the project only has haxeui + a http lib
  • a

    ambitious-knife-25690

    04/23/2023, 8:09 PM
    ian said it shouldn't be getting included, however with a clean project i don't seem to get it included
  • b

    billowy-waiter-28954

    04/23/2023, 8:27 PM
    Ceramic is adding hscript as a dependency but it shouldn`t build it if not really used
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    Copy code
    yml
    app:
        package: mycompany.logapp
        name: logapp
        displayName: logapp
        author: My Company
        version: '1.0'
    
        plugins:
            #- arcade
            #- nape
            #- ui
            #- elements
    
        libs:
          - http
          - hxnodejs
          - aidanecs
          - haxeui-core
          - haxeui-ceramic
          #- modular
            #- somelib
            #- somelib: someversion
            #- somelib: git:https://github.com/somelibauthor/somelib.git
    
        defines:
          - ceramic_no_skip
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    this is my yml
  • b

    bright-gpu-74537

    04/23/2023, 8:28 PM
    there is a #if hscript in haxeui though, but ceramic seems to be pulling in an hscript dep from a totally unrelatated example project in a lib
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    i don't think it is
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    i deleted the .hxml's
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    cleared the build dir
  • a

    ambitious-knife-25690

    04/23/2023, 8:28 PM
    i still get hscript
  • p

    powerful-morning-89

    04/23/2023, 8:29 PM
    No, Ceramic just always includes hscript as a dependency:
  • b

    bright-gpu-74537

    04/23/2023, 8:29 PM
    right, and then haxeui has a #if hscript
  • b

    bright-gpu-74537

    04/23/2023, 8:30 PM

    https://cdn.discordapp.com/attachments/853414608747364352/1099794346187956284/image.pngâ–¾

  • a

    ambitious-knife-25690

    04/23/2023, 8:31 PM
    in a clean ceramic project, i don't get hscript built
  • a

    ambitious-knife-25690

    04/23/2023, 8:31 PM
    for some reason it thinks hscript should be included but i'm not sure why
  • b

    bright-gpu-74537

    04/23/2023, 8:31 PM
    because its not used, but when you include haxeui and hscript, the #if hscript is true and you now have the "calc" css function (whether you use it or not)
  • a

    ambitious-knife-25690

    04/23/2023, 8:32 PM
    ohhh, i seeee
  • a

    ambitious-knife-25690

    04/23/2023, 8:32 PM
    haxeui is "tricking" ceramic into thinking it is needed
  • b

    bright-gpu-74537

    04/23/2023, 8:33 PM
    well, the inclusion of hscript is making haxeui think you might want to, well, use hscript
1...110111112...124Latest