0xSpaceShard / 0xSpaceShard/cairo-cli-docker

Test by compiling sample contracts

Offen Anfängerfreundlich
#8 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Nathan-SL Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Shell
Sterne
10
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Add two simple contracts (cairo0 and cairo1) and assert they can be compiled.

Can be done in this section of the shell script, perhaps after checking the versions:
https://github.com/Shard-Labs/cairo-cli-docker/blob/7cc3a832e99e28b9f136ab8909e42b03af780a15/build_and_push.sh#L27-L29

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at the build_and_push.sh script around lines 27-29. Create two simple Cairo contracts (one cairo0, one cairo1) in the repository. Add a test step that uses the cairo-cli to compile them and verify the output. Check the existing script for how the CLI is invoked and ensure the test runs as part of the build process.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
docker, shell
Bereich
cli, testing
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
70/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.