Comments (7)
Can you tell me what version of sinan you are using? (sinan version will tell you). And the platform you are running on?
from sinan.
sinan version: 0.24.0
Ubuntu 10.04.1
from sinan.
The problem is that in the case of a single application the AppDir and ProjDir are the same. build_out_skeleton creates the ProjDir/doc/ directory and then the build_out_application attempts to create the same directory under the guise of AppDir/doc/ and fails due to it already existing.
Can be fixed by replacing the doc folder creation in either of the following functions (in sin_task_gen.erl) with...
build_out_skeleton/1
case get_env(single_app_project, Env) of
false -> make_dir(filename:join(ProjDir, "doc"));
true -> noop
end
or build_out_application/4
case get_env(project_dir, Env) of
AppDir -> noop;
_ -> make_dir(filename:join(AppDir, "doc"))
end
from sinan.
What is the latest status on this?
from sinan.
That shouldn't blue up though, with that failure and doesn't in other cases. Aeh, let me look into this and I will get a fix out. At the very least I can remove that problem.
from sinan.
Ok, this is fixed in my repo. It should be pushed and available in the next day or so
from sinan.
Sinan 0.26.1 has been published which fixes this problem.
from sinan.
Related Issues (20)
- remove config dir from gen task generation HOT 1
- verbose mode
- local build dir first in list by sin_fs_resolver
- sinan gen pull username from env/passwd HOT 1
- pluggable builds HOT 1
- sinan should only copy erts to the release if it is not already copied.
- Randomly created proper test failed. HOT 1
- Make it an option to include erts into the build as a symlink, not a copy HOT 6
- Provide more control over sinan doc results HOT 4
- Support debian packaging in sinan
- include header files within the same app
- Sinan dist issue on fresh install on OS X HOT 4
- Release start script fails without {include_erts, true}.
- Directorys without version suffix HOT 2
- git based app versions HOT 3
- compile args should be part of the criteria for rebuilding files HOT 1
- sinan failed to bootstrap itself HOT 8
- RFE: report failed constraints HOT 1
- Provide .tar.gz of latest sinan release. HOT 2
- sinan release/dist fails HOT 1
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 sinan.