Comments (7)
I like the idea. Would we still have a possibility in core/ to run tests without any other repo?
from livelykernel.
the tests are part of core, so using lively's test runner yes. but i would like to make the test scripts part of the lk-script repo and move the core/ content of this repo to the top-level.
from livelykernel.
+1
from livelykernel.
we are slowly getting there... I will make a pull request for a proposal of how the repositories can be laid out.
from livelykernel.
OK, I gave that some thought and I think I should have time in the next couple of days, so here is what I want to do
Step 1: make our current repo the real core repo, move the contents of the core/ folder to the toplevel and split a lk-scripts repository
Step 2: the lk scripts either go into a subfolder .scripts/ as as a git submodule || would become a separate npm module.
The downside with the submodule is that a) submodules suck and b) you don't wanna have all the scripts every time you want just the core code. Having both a npm module for the scripts and LivelyKernel core would allow us install the scripts as a dependency when using npm and get the vanilla core repo when just cloned with github.
(Another alternative would be to have the scripts repo act as the npm LivelyKernel module and add LivelyKernel core as a npm dependency or git submodule to that)
Any thoughts?
from livelykernel.
Two npm modules with deps look a lot cleaner to me.
git submodules and checkout with filters sounds a lot like the stuff we didn't like about svn ("only check out file1, .., fileN in order to obtain the core").
from livelykernel.
OK, it now works like that:
- scripts are installed with
npm install -g livelykernel-scripts
. This will install thelk
tool into/usr/local/bin
which should be inPATH
by default. lk workspace --init
will then automatically get a copy from the LivelyKernel core git repo and from the webwerkstatt core and will put those into scripts/workspace/lk and scripts/workspace/ww. This is the default place for lk/ww working copies meaning that those are used whenever a lk script needs the lk/ww dir and no specfic --lk-dir/--ww-dir parameter is given. Instad of installing those with workspace init you can also symlink those (the travis build script does that for example).
from livelykernel.
Related Issues (20)
- copy and paste of images doesn't work anymore HOT 1
- cleanup github issues
- server-side integration tests via Chrome are unreliable HOT 2
- cmd-v pasted images don't appear in their correct size HOT 1
- cmd-v pasted images don't appear in their correct size
- test issue HOT 1
- test issue
- apis.Github.request callback is triggered multiple times
- Testing HOT 2
- empty TextMorph grows uncontrollably under some conditions
- "Save world as..." silently fails if login name is unknown HOT 3
- TextAttributePanel invokes debugger
- object graphing needs dot program or should throw error
- OptimizedLoadingServer throws error due to babel-core
- can't get debugging feature work on a local copy of LK HOT 2
- test issue from FF
- Lively Web installed from GitHub or run using Docker throws error on iPad, lively-web.org runs OK
- Strange scrolling to 0,0
- Error on reloading worlds
- Code rewriting breaks arithmetic 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 livelykernel.