Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird directory structure #51

Open
binarykitchen opened this issue May 3, 2018 · 1 comment
Open

Weird directory structure #51

binarykitchen opened this issue May 3, 2018 · 1 comment

Comments

@binarykitchen
Copy link

I have for example tried this in a new fork

(deftask package []
  (comp
    (download :url     (format "https://unpkg.com/@microsoft/office-js@%s/dist/office.debug.js" +lib-version+)
              :target  "cljsjs/office-js/development/office-js.inc.js")
    (download :url     (format "https://unpkg.com/@microsoft/office-js@%s/dist/office.js" +lib-version+)
              :target  "cljsjs/office-js/production/office-js.min.inc.js")
    (sift :include #{#"^cljsjs"})
    (pom)
    (show :fileset true)
    (jar)
    (validate-checksums)))

but output is very wrong

└─❱❱❱ boot package install target                                                                                                                                                              +7763 17:09 ❰─┘
Downloading office.debug.js
Sifting output files...
Downloading office.js
Sifting output files...
Sifting output files...
Writing pom.xml and pom.properties...

├── META-INF
│   └── maven
│       └── cljsjs
│           └── office-js
│               ├── pom.properties
│               └── pom.xml
└── cljsjs
    ├── cljsjs
    │   └── office-js
    │       └── production
    │           └── office-js.min.inc.js
    │               ├── common
    │               │   └── cljsjs
    │               │       └── office-js
    │               │           └── production
    │               │               └── office-js.min.inc.js.ext.js
    │               └── development
    │                   └── cljsjs
    │                       └── office-js
    │                           └── production
    │                               └── office-js.min.inc.js.inc.js
    └── office-js
        └── production
            └── office-js.min.inc.js
Writing office-js-1.1.8-0.jar...
Checksums match
Installing office-js-1.1.8-0.jar...
Writing target dir(s)...

Trying to understand what causes this wrong directory structure? Why is there so much nesting?

Thanks for any clues

@binarykitchen
Copy link
Author

When I am trying to use :name instead I think there is a bug in the download task at (re-pattern fname) which probably should be quoted or so. And it it's a regex, it looks weird when printed in console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant