Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-11-14 20:05:05

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 304
Website GitHub Twitter

Codekit and its build functions

Does any Codekit user know if I can configure its scss output so that it writes to both localhost/site1/css/ and localhost/site2/css/?

Offline

#2 2024-11-14 20:15:03

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,734
Website

Re: Codekit and its build functions

It’s been a while since I used it but I think the easiest way is to make two src main.scss files (or whatever you’ve called yours) and set them to each compile to different targets. If I recall correctly, you should be able to make the second main.scss simply import the first.

PS: I liked the .kit approach too for quick partial-ising of mockups.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2024-11-15 20:05:43

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 304
Website GitHub Twitter

Re: Codekit and its build functions

Thanks!

Doh! ray me.

Offline

#4 2024-11-18 09:54:49

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,269
GitHub

Re: Codekit and its build functions

I’m considering CodeKit for purchase next year for a new project, is it still the bee’s knees and/or are there alternatives to consider?

Offline

#5 2024-11-18 16:35:42

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 304
Website GitHub Twitter

Re: Codekit and its build functions

I use only a fraction of its capabilities, yet I’d find web development very tedious without it.

The author Bryan’s version comments are always worth a read.

Offline

#6 2024-11-19 09:10:27

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 557

Re: Codekit and its build functions

I should really give the latest version of CodeKit a try. I’ve used it for a few years but on an older version. In the meantime I’ve gone the other way of using the terminal to manually install frameworks (Bootstrap) and write my own build scripts to sync files, set permissions, and compile SASS (SCSS) to CSS.

Offline

Board footer

Powered by FluxBB