Commit Graph

37 Commits

Author SHA1 Message Date
Evgeny Kochetkov
da40e5300c refactor(xod-cli): remove doc command 2017-05-15 13:41:34 +03:00
Evgeny Kochetkov
7c040ed307 refactor(xod-cli): get rid of migrate tool
we support only single format now
2017-05-12 23:17:04 +03:00
Kirill Shumilov
85c4d08882 refactor(xod-arduino-builder, xod-cli, xod-client-electron): refactor xod-arduino-builder and his consumers: separated pure and unpure functions and call them as compositions 2017-04-24 19:57:10 +03:00
Kirill Shumilov
3314a0bf37 refactor(xod-arduino-builder, xod-cli, xod-client-electron): refactor xod-arduino-builder to use child-process-promise package instead of shelljs and promisified versions of writeFile and readFile from xod-fs, remove unnecessary messages, update docs. And update all consumers. 2017-04-24 19:56:40 +03:00
Kirill Shumilov
fc80a2fe04 refactor(xod-arduino-builder, xod-cli, xod-client-electron): make all Promises in xod-arduino-builder returns unified object CmdResult and use it in packages-consumers 2017-04-24 19:56:40 +03:00
Evgeny Kochetkov
08c60dd8d3 fix(xod-cli): all transpilers now return Either, no more hacks required 2017-04-19 15:38:39 +03:00
Alexander Matsievsky
92025f85e2 feat(xod-cli): as a pro-xoder, I want to xodc install some/libname so that I can utilize 3rd-party work
Bug: libraries should not be overwritten if exist already

Closes #188.
2017-03-27 15:27:57 +03:00
Alexander Matsievsky
ac3ba2615c feat(xod-cli): as a pro-xoder, I want to xodc install some/libname so that I can utilize 3rd-party work
Closes #188.
2017-03-27 13:49:21 +03:00
Kirill Shumilov
e59132d063 refactor(xod-cli): make xod-cli works correctly with Either, that returns from transpileForArduino 2017-03-23 18:42:26 +03:00
Kirill Shumilov
d3d6943622 feat(xod-cli): add transpiling for arduino target from xod-cli 2017-03-23 18:41:48 +03:00
Alexander Matsievsky
c845602514 feat(xod-cli): implement publishing new library semver with xodc (#429)
Closes #428.
2017-03-23 17:16:07 +03:00
Kirill Shumilov
61d0ec31d0 refactor(xod-cli): refactor xodc and add migrate command into doc 2017-02-17 21:53:31 +03:00
Kirill Shumilov
4bde7f2782 refactor,feat(xod-cli): make transpiling command works properly and make migrare throws error if something went wrong 2017-02-17 18:18:58 +03:00
Kirill Shumilov
d8ad6fa5cc feat(xod-cli): add migrating command into xod-cli (xodc m /path/to/old/bundle.xodball /path/to/save/new/bundle.xodball) 2017-02-17 18:18:37 +03:00
Alexander Matsievsky
f590ac4dca feat(xod-cli): as a pro-xoder I want to compile and upload code for Arduino from CLI so that I can xod without running Arduino IDE (#369)
Closes #340.
2017-02-16 09:24:37 +03:00
Kirill Shumilov
6be945c732 refactor(*): enable and fix import/imports-first rule 2017-01-16 18:40:55 +03:00
Kirill Shumilov
3ad4f3f795 refactor(*): enable and fix arrow-parens rule 2017-01-16 18:35:27 +03:00
Kirill Shumilov
5062f7d55d refactor(xod-cli, xod-client): enable and fix no-undef rule and remove excessive functions from browser.js 2017-01-16 18:24:51 +03:00
Fedor Kamshilin
6f5596dfaa fix(xod-doc): fix pull request issues
fix(xod-doc): fix pull request issues

fix(xod-doc): fix pull request issues
2016-12-16 15:43:17 +03:00
Fedor Kamshilin
1cab8cf3c3 feat(xod-doc): add generator for documentation 2016-12-16 13:12:59 +03:00
Kirill Shumilov
934c0bf710 refactor(xod-cli): replace ugly switch with simple code 2016-11-22 11:56:50 +03:00
Kirill Shumilov
f72dedc765 refactor(xod-js): rename transpiling functions from ‘espruino’ and ‘nodejs’ into ‘transpileForEspruino’ and ‘transpileForNodeJS’ 2016-11-21 20:24:05 +03:00
Kirill Shumilov
4b796d6831 feat(xod-cli): add a selecting a target in the xod-cli and add build:tree:xod-cli script 2016-11-21 20:24:05 +03:00
Kirill Shumilov
f13f8801dc refactor(xod-js): rename xod-espruino into xod-js, and it will contain transpiler and runtime for any js-lang targets (espruino, nodejs) 2016-11-21 20:24:05 +03:00
Kirill Shumilov
1ec43c7357 fix(xod-cli): fix eslint error by removing unused var 2016-11-10 13:35:03 +03:00
Kirill Shumilov
3d7202ea55 fix(xod-fs, xod-cli): fix writeFile exporting for saving output in xod-cli 2016-11-10 13:02:38 +03:00
Victor Nakoryakov
96303c0a16 fix(cli): make linter happy 2016-11-03 13:28:40 +03:00
Victor Nakoryakov
9111320a0d chore(cli): sane trace messages 2016-11-03 13:21:04 +03:00
Victor Nakoryakov
c0f64f8ee2 fix(cli): sane error codes 2016-11-03 13:12:53 +03:00
Victor Nakoryakov
9b82a77503 chore(cli): remove spinner as it hard-coded to polute stdout 2016-11-03 13:10:42 +03:00
Victor Nakoryakov
2da8dd7767 feat(cli): sane colors visible on dark/light themes, trace to stderr 2016-11-03 13:08:16 +03:00
Kirill Shumilov
99507243b6 feat(xod-cli/transpile): make transpile takes as input argument: .xodball, project_directory or project.xod (from project_directory) 2016-10-27 17:33:47 +03:00
Kirill Shumilov
5b399ebaa2 fix(xod-cli): remove excessive promise.resolve 2016-10-26 18:53:02 +03:00
Kirill Shumilov
74bd21a8d1 feat, refactor(xod-cli): refactor xod-cli using new xod-fs methods and promises, and added cli-color package and beautify output of xod-cli in console 2016-10-26 18:48:28 +03:00
Kirill Shumilov
6efca0d467 refactor(xod-fs, xod-cli, xod-client-electron): make xod-fs/save returns a promise instead of passing callbacks and use new write methods from xod-fs, instead of fs.writeFile. And curried xof-fs/save method. 2016-10-25 19:15:02 +03:00
Kirill Shumilov
ec0f846719 fix(xod-cli/unpack): fix a spinner message "Packing" -> "Unpacking" 2016-10-24 23:12:31 +03:00
Kirill Shumilov
e6afe5a7e8 feat(xod-cli): add a new package xod-cli and move a xodc from xod-core into this package and add commands: pack, unpack, transpile 2016-10-24 21:22:22 +03:00