GithubHelp home page GithubHelp logo

Restore ocamlbuild plugin? about ppxlib HOT 4 CLOSED

ocaml-ppx avatar ocaml-ppx commented on June 3, 2024
Restore ocamlbuild plugin?

from ppxlib.

Comments (4)

 avatar commented on June 3, 2024

Why not simply distribute the plugin as a separate package?

from ppxlib.

drvink avatar drvink commented on June 3, 2024

I wasn't sure whether that would work correctly, but it looks pretty standalone, so I think that might work. Let me give it a shot.

from ppxlib.

drvink avatar drvink commented on June 3, 2024

Ah, this was where I figured there might be a problem:

arch-vm[1171]:~/prog/src/ocaml/ppxlib-ocamlbuild% make
jbuilder build --dev --auto-promote @cinaps @install
File "ocamlbuild_plugin/jbuild", line 3, characters 2-33:
Error: The current scope doesn't define package "ppxlib".
The only packages for which you can declare elements to be installed in this directory are:
- ppxlib-ocamlbuild (because of ppxlib-ocamlbuild.opam)
make: *** [Makefile:5: default] Error 1

Using this jbuild:

(library
 (  (name ppxlib_ocamlbuild)
  (public_name ppxlib.ocamlbuild)
  (libraries (ocamlbuild))
  (flags (:standard -I +ocamlbuild))
  (preprocess no_preprocessing)))

(jbuild_version 1)

Is there a workaround? It's not a big deal if we have to change our oasis file to use blah.ocamlbuild instead of ppxlib.ocamlbuild, though.

from ppxlib.

drvink avatar drvink commented on June 3, 2024

I've done the latter. Sorry for the noise!

from ppxlib.

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.