Comments (4)
Why not simply distribute the plugin as a separate package?
from ppxlib.
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.
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.
I've done the latter. Sorry for the noise!
from ppxlib.
Related Issues (20)
- Documentation Doesn't Explain How to Generate a Type Definition that has a PPX Annotation HOT 2
- `esequence` with more than two expressions in `[@@deriving_inline]` HOT 2
- locations check fails for "let open" patterns
- [info request] how is generation of .cmxs done?
- [info request] HOT 3
- Can't get the current path when using ~impl or ~intf HOT 6
- 0.28 release HOT 5
- Docs or examples for `Deriving.Args`? HOT 1
- Follow current OCaml trunk (on a separate branch?) HOT 9
- Outreachy Summer 2023: Improving error reporting in existing `ppxlib`-based PPXs HOT 9
- Improve `Ast_pattern` error reporting. HOT 9
- Metaquot: Embed errors in the AST instead of raising HOT 20
- Ast_pattern: augment API with `ebool`, `pbool` helper, and a new `map`. HOT 21
- `Ast_patter.map0` actually call the continuation when it has only one argument
- `Code_path.main_module_name` is sensitive to line directives
- Having flag attributes is cumbersome with current API HOT 13
- Allow arguments of derivers to have default values HOT 1
- metaquot does not transfer attributes
- Possibly wrong link for merlin HOT 1
- ppxlib#trunk-support on 5.1.0~alpha1 breaks `let f: type a.` syntax HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppxlib.