Lock the package to the verified ZX toolchain
This commit is contained in:
1 parent
c316e445a9
commit
c259cf1490
3 files changed
+8
-8
No files matched your search
@@ -10,10 +10,10 @@ BUILD := build
|
||||
check: test
|
||||
|
||||
test:
|
||||
$(ZIRAN) check --project
|
||||
$(ZIRAN) build --project --target=c --entry diff_test:main \
|
||||
$(ZIRAN) check --project --locked
|
||||
$(ZIRAN) build --project --locked --target=c --entry diff_test:main \
|
||||
-o $(BUILD)/test-c tests/diff_test.zi
|
||||
$(CC) -std=c99 -pedantic-errors -I$$($(ZIRAN) pkg path ziran)/include \
|
||||
$(CC) -std=c99 -pedantic-errors -I$$($(ZIRAN) pkg path ziran --locked)/include \
|
||||
-I$(BUILD)/test-c $(BUILD)/test-c/*.c -o $(BUILD)/diff-test
|
||||
$(BUILD)/diff-test
|
||||
|
||||
|
||||
+3
-3
@@ -8,8 +8,8 @@
|
||||
"name": "diff"
|
||||
},
|
||||
"toolchain": {
|
||||
"commit": "7bc57800eb5fc0d922628bdbce2f619427fb4219",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/ziran.git"
|
||||
"commit": "5db3d3c39425d5dfe4bfe4a84e6f6e2e5a810ad0",
|
||||
"ref": "5db3d3c39425d5dfe4bfe4a84e6f6e2e5a810ad0",
|
||||
"url": "https://git.waozi.xyz/ziranlang/ziran.git"
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -3,8 +3,8 @@ name = "diff"
|
||||
module_roots = ["src", "tests"]
|
||||
|
||||
[toolchain]
|
||||
git = "https://github.com/ziranlang/ziran.git"
|
||||
ref = "master"
|
||||
git = "https://git.waozi.xyz/ziranlang/ziran.git"
|
||||
ref = "5db3d3c39425d5dfe4bfe4a84e6f6e2e5a810ad0"
|
||||
|
||||
[exports]
|
||||
diff = "src/diff.zi"
|
||||
Reference in new issue
Block a user