Comments (5)
krab (with a small k like all the command line tools) just uses --depth 3 for all _bin repos, pretty simple. Starting with 2019 I plan to use yearly branches for the bin repos so regular clones are also getting faster. Also looked into git-lfs to speed things up but sadly it's horrible on github (but could just use bitbucket for the bin repos) and hard to install on macOS.
But, yes, not too happy about people using kha_version defines anyways but not sure about just getting rid of it either.
from khamake.
But commits in git do not have a well defined order, a >= isn't really possible. I think the best solution would be a bot that adds a version commit once per month.
from khamake.
Yes the commit_xyz thing was a just silly example. Even a monthly auto-update would be great.
from khamake.
Thinking about this more, it could indeed cause more trouble than worth in the end. Maybe getting rid of the define would force us into a more robust solutions.
For me it started with Kha being slow to clone (armory needs fast update mechanism) but using Krab as a basis it now seems I will be able to just make it clone fast enough.
from khamake.
The fastest way I found so far, if you only need shallow copy to start with:
git clone --recursive https://github.com/Kode/Kha --depth 1 --shallow-submodules --jobs 4
This finishes in ~80 seconds for me, of which haxe_bin takes up to 40 seconds. Once haxe3 is out it could maybe fit into 1 minute which is reasonable.
from khamake.
Related Issues (20)
- Chokidar ignore assets and shaders when the path contains a "." HOT 7
- [addProject] assets exported to wrong path
- [addProject] nested addProject calls don't seem to work
- Resource busy or locked HOT 5
- Source code not recompiled on change HOT 11
- project.addAssets with absolute path fails
- --haxe3 doesn't work with --watch HOT 3
- Texture atlas generation HOT 9
- Issues Building With Latest Khamake+Koremake HOT 13
- addAssets('../Assets/**') not including files HOT 3
- A library's addDefine gets ignored HOT 1
- Chokidar v3 request
- Shader compiler error writes to log.info() instead of log.error()?
- A library's full path is used for addDefine
- khafile.js -> await project.addProject("xyz") breaks code-completion (haxe doesn't build cache anymore) HOT 5
- CLI flag grep compat
- Should return non-success error code on compilation failure
- Store/query mapping from original asset filenames to renamed/converted asset filenames
- Khamake silently ignores khafile.js errors
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 khamake.