jordwalke / pesy

Builds simple esy native packages with minimal configuration.
MIT License
112 stars 6 forks source link

New project sertup - esy release failing #18

Open sync opened 5 years ago

sync commented 5 years ago

info npm-release 0.5.8 (using package.json) info Creating npm release info Building packages info building reasonml-postgres@link-dev:./package.json error: build failed with exit code: 1 build log:

esy-build-package: building: reasonml-postgres@link-dev:./package.json

# esy-build-package: pwd: /Users/anthonymittaz/Projects/Reason/reasonml-postgres
# esy-build-package: running: 'dune' 'build' '-p' '<PACKAGE_NAME>'
Error: I don't know about package <PACKAGE_NAME> (passed through --only-packages/--release)
error: command failed: 'dune' 'build' '-p' '<PACKAGE_NAME>' (exited with 1)
esy-build-package: exiting with errors above...

building reasonml-postgres@link-dev:./package.json esy: exiting due to errors above

sync commented 5 years ago

can be fixed by changing:

"esy": {
    "build": "dune build -p <PACKAGE_NAME>",

to

"esy": {
    "build": "dune build -p #{self.name}",