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

chore: update and fix fbt tests #1734

Merged
merged 4 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastn-core/tests/15-fpm-dependency-alias/cmd.p1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
-- fbt:
cmd: cd amitu && $FBT_CWD/../target/debug/fastn --test build --edition 2022
output: amitu/.build
skip: will resume once the required dependencies have manifest file

-- stdout:

Updated 2 dependencies.
Processing fifthtry.github.io/amitu/manifest.json ... done in <omitted>
Processing fifthtry.github.io/amitu/FASTN/ ... done in <omitted>
Processing fifthtry.github.io/amitu/ ... Processing fastn-community.github.io/expander/images/uparrow.png ... done in <omitted>
Expand Down
26 changes: 26 additions & 0 deletions fastn-core/tests/19-offline-build/cmd.p1
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-- fbt:
cmd: $FBT_CWD/../target/debug/fastn --test update && $FBT_CWD/../target/debug/fastn --test build --offline
output: .build

-- stdout:

Updated 2 dependencies.
Updated 2 dependencies.
harshdoesdev marked this conversation as resolved.
Show resolved Hide resolved
Processing fastn-community.github.io/business-card-demo/manifest.json ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/FASTN/ ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/assets/ipsum-logo-dark.svg ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/assets/ipsum-logo.svg ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/ ... Processing fastn-community.github.io/business-card/assets/fastn-badge-white.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/fastn-badge-white-dark.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/download-hover.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/download-hover-dark.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/download.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/download-dark.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/flip-icon.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/flip-icon-dark.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/flip-icon-hover.svg ... done in <omitted>
Processing fastn-community.github.io/business-card/assets/flip-icon-hover-dark.svg ... done in <omitted>
Processing fastn-stack.github.io/fastn-js/download.js ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/assets/ipsum-logo.svg ... done in <omitted>
Processing fastn-community.github.io/business-card-demo/assets/ipsum-logo-dark.svg ... done in <omitted>
done in <omitted>
5 changes: 5 additions & 0 deletions fastn-core/tests/19-offline-build/input/FASTN.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- import: fastn

-- fastn.package: fastn-community.github.io/business-card-demo

-- fastn.dependency: fastn-community.github.io/business-card
162 changes: 162 additions & 0 deletions fastn-core/tests/19-offline-build/input/assets/ipsum-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 152 additions & 0 deletions fastn-core/tests/19-offline-build/input/assets/ipsum-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions fastn-core/tests/19-offline-build/input/index.ftd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- import: fastn-community.github.io/business-card as b-card
-- import: fastn-community.github.io/business-card-demo/assets

-- b-card.card: John Doe
title: Software Developer
company-name: John Doe Pvt. Ltd.
logo: $assets.files.assets.ipsum-logo.svg
contact-1: +91 12345 99999
contact-2: +91 12345 88888
email: john@johndoe.com
website: www.johndoe.com
address: 123, Block No. A-123, Times Square, Bangalore - 123456
company-slogan: If you can type you can code
Loading
Loading