Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Developer Build System

packapotatoes edited this page Mar 3, 2017 · 6 revisions

These are instructions for how to develop for artifact. This is tested for linux only, but should work for any OS (all tools are cross-platform)

  • install the released artifact by following the User Guide
  • First, install rust and cargo with rustup
    • install nightly rust: rustup install nightly
  • for the web-ui:
    • install node.js for your OS
    • install elm and webpack globally with npm install -g elm webpack
  • clone the source code and navigate to it
    • git clone https://github.com/vitiral/artifact.git; cd artifact
  • compile the code:
    • cargo build
  • run all the commands in the update command at the end of the justfile (or run just update if you have just installed)

When that works, there are a few additional tools

  • you need git for version control
  • justfile is how to access developer build commands
    • just does not support Windows (yet)
    • cargo install just to install it
    • call just -l from the project root to list all commands
    • view the justfile itself to see what is going on and browse how to use the commands
Clone this wiki locally