Comments (4)
Not actually working the way I thought, since the install occurs in a staging directory which has never had "git init".
from lectrote.
Think I have it working. I wound up with this line, for which I apologize sincerely:
"preinstall": "if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi",
Covers these cases:
npm install -g https://github.com/erkyrath/lectrote.git
Check out, npm install
, npm install -g
from lectrote.
If you changed it to a postinstall script, then you wouldn't need that check?
Another option would be to just publish quixe on npm. The build script (and main.js I guess) could check if the quixe folder exists and use it if it does, falling back to node_modules if it doesn't.
You should be able to use the npm_config_binroot config var in cli.sh - if you're asking for npm root -g
then it won't work when it's running locally, won't it? (I'm writing all of this without testing it, so if it does work then just ignore!)
from lectrote.
I tried postinstall first, but it was not sufficient. The install location doesn't have .git either.
I may publish on npm eventually, but not today.
I figure if you're running locally you're not using cli.sh, but rather npm start game.ulx
.
from lectrote.
Related Issues (20)
- TADS 2 status window goes blank at non-100% browser zoom HOT 16
- [Windows] App doesn't quit after trying to load a corrupt file HOT 6
- Images don't show up when using Git or Glulxe as the interpreter within Lectrote HOT 1
- Counterfeit Monkey does not let me see save files HOT 2
- City of Secrets hyperlinks don't work
- Windows ARM support HOT 1
- Violet's status bar looks weird
- Windows installer HOT 2
- Submit Lectrote to the Microsoft Windows Store HOT 1
- Submit Lectrote to the Mac App Store HOT 2
- Right side of status bar is blank HOT 2
- Ability to load .sav Files HOT 1
- Wrong value is returned for `systemInfo(SysInfoTextColors)` in TADS 3 HOT 1
- bug: saved file extension is not set automatically
- Feature: enhanced transcript mode
- Feature request: Block cursor mode HOT 2
- Adrift 4 games are selectable but the game never loads HOT 1
- how to use opengl instead Vulkan? HOT 1
- Feature request: Allows margins larger than 25% HOT 1
- Improve Automatic Speech Output for NVDA Screen Reader
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 lectrote.