Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to read dependencies.sh #3

Open
atakiya opened this issue Feb 16, 2024 · 0 comments
Open

Ability to read dependencies.sh #3

atakiya opened this issue Feb 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@atakiya
Copy link
Owner

atakiya commented Feb 16, 2024

Should make integration to existing SS13 codebases quicker and easier.

Current plan is

if no `.byondversion` then
    read dependencies.sh
    write .byondversion

However which step should this happen on...

  • Calling pin without arguments?
  • Using a shimmed tool inside the directory? (possibly calling the tool executable to not bloat the shim)

And should this include an update command to read a new value, assuming only some contributors might use the tool in a project?

Sample data format of dependencies.sh:

#!/bin/sh

#Project dependencies file
#Final authority on what's required to fully build the project

# byond version
export BYOND_MAJOR=514
export BYOND_MINOR=1589

#rust_g git tag
export RUST_G_VERSION=1.2.0

#node version
export NODE_VERSION=14
export NODE_VERSION_PRECISE=14.16.1

# SpacemanDMM git tag
export SPACEMAN_DMM_VERSION=suite-1.7.3

# Python version for mapmerge and other tools
export PYTHON_VERSION=3.9.0
@atakiya atakiya added the enhancement New feature or request label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant