SPB Git

Repository Public

gen_excel_compat.sh 2.0 KB 47 lines shellscript

1#!/bin/bash2# =============================================================================3#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5# =============================================================================6#7# Project          : ORIX Sheet8# File             : Packages/SheetAnalytics/Tests/FinanceModelsTests/Generators/gen_excel_compat.sh9# Module           : FinanceModelsTests10# Repository       : https://git.spboucher.ai/orix-sheet11# Created          : 2026-11-2112# Last Modified    : 2026-11-2113#14# Author           : Simon-Pierre Boucher15# Position         : Professor of Finance16# Institution      : Université du Québec en Outaouais (UQO)17# Organization     : SP Boucher18# Website          : https://spboucher.ai19# Git              : https://git.spboucher.ai20#21# Preferred Contact: support@spboucher.ai22# Technical Contact: dev@spboucher.ai23# Security/Admin   : admin@spboucher.ai24#25# Copyright (c) 202626# Simon-Pierre Boucher27# All rights reserved where applicable. This file is governed by the28# applicable project license, copyright notices and relevant law.29# Existing third-party rights and notices remain unaffected.30#31# License          : None specified (no license file in this repository)32#33# Do not embed credentials, private keys, access tokens,34# certificates or confidential personal information.35#36# =============================================================================37# END OF SP BOUCHER SOURCE HEADER38# =============================================================================3940# Regenerates Fixtures/excel_compat.json from FunctionsLookup's implementation of Excel's41# day-count and bond functions (see ExcelCompat/Sources/gen-excel-compat/main.swift).42# The build products go to a scratch directory outside the source tree.43set -euo pipefail44here="$(cd "$(dirname "$0")" && pwd)"45swift run --package-path "$here/ExcelCompat" --scratch-path "${TMPDIR:-/tmp}/orixsheet-excel-compat-build" \46    gen-excel-compat "$here/../Fixtures/excel_compat.json"47
Files main
Menu

Theme