modo-studio / pandora Goto Github PK
View Code? Open in Web Editor NEWCommand line tool that link setups the workspace with the frameworks, linking and embedding them in your app.
License: MIT License
Command line tool that link setups the workspace with the frameworks, linking and embedding them in your app.
License: MIT License
Can I use it for framework to iOS?
Hi,
Thank you for all the effort put in this tool!
Today I was trying pandora for the first time, I got these 2 errors while creating a new framework:
pandora_framework_template-master
to just pandora_framework_
and rerun.$ pandora create FW_NAME inc.acme
=> Downloading framework template
=> Framework template downloaded
=> Uncompressing template
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `rename': No such file or directory - (/Users/XXXXXX/workspaces/Xcode/FW_NAME/template-master, /Users/XXXXXX/workspaces/Xcode/FW_NAME/FW_NAME) (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `block in mv'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1558:in `block in fu_each_src_dest'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1574:in `fu_each_src_dest0'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1556:in `fu_each_src_dest'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:508:in `mv'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:59:in `unzip_template'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:30:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/client/main.rb:10:in `create'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/exe/pandora:5:in `<top (required)>'
from /usr/local/bin/pandora:23:in `load'
from /usr/local/bin/pandora:23:in `<main>'
$ pandora create FW_NAME inc.acme
=> Downloading framework template
=> Framework template downloaded
=> Uncompressing template
=> Template uncompressed
=> Renaming files content
/Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:79:in `gsub': invalid byte sequence in UTF-8 (ArgumentError)
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:79:in `block in rename_files_content'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:77:in `each'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:77:in `rename_files_content'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:32:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/lib/pandora/client/main.rb:10:in `create'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Library/Ruby/Gems/2.0.0/gems/pandora-frameworks-0.1.3/exe/pandora:5:in `<top (required)>'
from /usr/local/bin/pandora:23:in `load'
from /usr/local/bin/pandora:23:in `<main>'
I would love to fix it, but I don't have enough Ruby knowledge ๐
When i try to create
pandora create Kit marvin
i get
=> Downloading framework template
=> Framework template downloaded
=> Uncompressing template
/Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:528:in `rename': No such file or directory @ rb_file_s_rename - (/Users/marvinnazari/Code/template-master, /Users/marvinnazari/Code/Kit) (Errno::ENOENT)
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:528:in `block in mv'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1571:in `block in fu_each_src_dest'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1587:in `fu_each_src_dest0'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1569:in `fu_each_src_dest'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:517:in `mv'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:59:in `unzip_template'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pandora-frameworks-0.1.3/lib/pandora/commands/create.rb:30:in `execute'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pandora-frameworks-0.1.3/lib/pandora/client/main.rb:10:in `create'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/marvinnazari/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/pandora-frameworks-0.1.3/exe/pandora:5:in `<top (required)>'
from /Users/marvinnazari/.rbenv/versions/2.3.1/bin/pandora:23:in `load'
from /Users/marvinnazari/.rbenv/versions/2.3.1/bin/pandora:23:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.