<human>: Can you give me the gist of the text in a nutshell?

I've been friends with him for over 7 months now. We started off as friends, then of course I stupidily start to gain feelings for him. I tried to keep it to myself and succeeded for awhile. But started to feeling like he might reciprocate the feelings. 

Sadly when I brought it up he basically said that he enjoyed being my friend, if we ever dated and broke up we wouldn't be friends anymore. He doesn't want that to happen. So I tried to move on while continuing to hang out like we used too. 

After a bit my feelings hadn't gone away, they only became bigger. So I tried to step away from the friendship. He got upset and claimed he was worth his friendship, even though he couldn't give me what I wanted. I felt bad but stayed away for a few days, eventually going back to being friends wah sooner than I should have. I honestly thought I was OK with it.

Well I'm not. And yesterday something in me snapped. I deleted him off all social media. He found out within an hour and text me about it. I ignored it, deleted the convo, and deleted his contact information. I haven't heard from him since. 

I'm honestly devastated. He was a great friend and someone I care about very much. My brain keeps telling me I made the correct call. But my heart is telling me this isn't what I want, that it was too harsh, and maybe he was beginning to come around. I know that is all bullshit. And yet "he told you from the beginning, you did this to yourself and are punishing him" keeps replaying in my head.

I wasn't good enough for him to date, but being "just friends" wasn't good enough for me. 

I have to work in the same building as him come Monday.  I'm not sure how I'm going to handle it.

Did I make the correct call, or should I have gone another route?
<bot>: Infatuated with my friend even though he told me before he wanted to remain just friends. I internally snapped and went no contact. Did I make the right call?